Advertisement
RobertBerger

ext-toolchain-1

May 12th, 2011
351
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. # CONF_VERSION is increased each time build/conf/ changes incompatibly
  2. CONF_VERSION = "1"
  3.  
  4. # Uncomment and change to cache the files Poky downloads in an alternative
  5. # location, default it ${TOPDIR}/downloads
  6. #DL_DIR ?= "${TOPDIR}/downloads"
  7. # Uncomment and change to cache Poky's built staging output in an alternative
  8. # location, default ${TOPDIR}/sstate-cache
  9. #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
  10.  
  11. # Uncomment and set to allow bitbake to execute multiple tasks at once.
  12. # For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
  13. # be appropriate.
  14. BB_NUMBER_THREADS = "8"
  15. # Also, make can be passed flags so it run parallel threads e.g.:
  16. PARALLEL_MAKE = "-j 8"
  17.  
  18. # Set a default machine to target unless a machine is selected from the
  19. # lists below.
  20. #MACHINE ??= "qemux86"
  21.  
  22. # Supported emulation machines
  23. #MACHINE ?= "qemuarm"
  24. #MACHINE ?= "qemumips"
  25. MACHINE ?= "qemumipsel"
  26. #MACHINE ?= "qemuppc"
  27. #MACHINE ?= "qemux86"
  28. #MACHINE ?= "qemux86-64"
  29.  
  30. # Supported target hardware for demonstration purposes
  31. #MACHINE ?= "atom-pc"
  32. #MACHINE ?= "beagleboard"
  33. #MACHINE ?= "emenlow"
  34. #MACHINE ?= "mpc8315e-rdb"
  35. #MACHINE ?= "routerstationpro"
  36.  
  37. DISTRO ?= "poky"
  38. # For bleeding edge / experimental / unstable package versions
  39. # DISTRO ?= "poky-bleeding"
  40.  
  41. BBMASK = ""
  42.  
  43. # EXTRA_IMAGE_FEATURES allows extra packages to be added to the generated images
  44. # (Some of these are automatically added to certain image types)
  45. # "dbg-pkgs" - add -dbg packages for all installed packages
  46. # (adds symbol information for debugging/profiling)
  47. # "dev-pkgs" - add -dev packages for all installed packages
  48. # (useful if you want to develop against libs in the image)
  49. # "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
  50. # "tools-debug" - add debugging tools (gdb, strace)
  51. # "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only))
  52. # "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
  53. # "debug-tweaks" - make an image for suitable of development
  54. # e.g. ssh root access has a blank password
  55. # There are other application targets too, see meta/classes/poky-image.bbclass
  56. # and meta/packages/tasks/task-poky.bb for more details.
  57.  
  58. EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks"
  59.  
  60. # The default IMAGE_FEATURES above are too large for the mx31phy and
  61. # c700/c750 machines which have limited space. The code below limits
  62. # the default features for those machines.
  63. EXTRA_IMAGE_FEATURES_c7x0 = "tools-testapps debug-tweaks"
  64. EXTRA_IMAGE_FEATURES_mx31phy = "debug-tweaks"
  65. EXTRA_IMAGE_FEATURES_mx31ads = "tools-testapps debug-tweaks"
  66.  
  67. # A list of packaging systems used in generated images
  68. # The first package type listed will be used for rootfs generation
  69. # include 'package_deb' for debs
  70. # include 'package_ipk' for ipks
  71. # include 'package_rpm' for rpms
  72. #PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
  73. #PACKAGE_CLASSES ?= "package_rpm package_ipk"
  74. PACKAGE_CLASSES ?= "package_ipk"
  75.  
  76. # mklibs library size optimization is more useful to smaller images,
  77. # and less useful for bigger images. Also mklibs library optimization can break the ABI compatibility, so should not be applied to the images which are tobe
  78. # extended or upgraded later.
  79. #This enabled mklibs library size optimization just for the specified image.
  80. #MKLIBS_OPTIMIZED_IMAGES ?= "poky-image-minimal"
  81. #This enable mklibs library size optimization will be for all the images.
  82. #MKLIBS_OPTIMIZED_IMAGES ?= "all"
  83.  
  84. # A list of additional classes to use when building the system
  85. # include 'image-mklibs' to reduce shared library files size for an image
  86. # include 'image-prelink' in order to prelink the filesystem image
  87. # include 'image-swab' to perform host system intrusion detection
  88. # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
  89. USER_CLASSES ?= "image-mklibs image-prelink"
  90.  
  91. # POKYMODE controls the characteristics of the generated packages/images by
  92. # telling poky which type of toolchain to use.
  93. #
  94. # Options include several different EABI combinations and a compatibility
  95. # mode for the OABI mode poky previously used.
  96. #
  97. # The default is "eabi"
  98. # Use "oabi" for machines with kernels < 2.6.18 on ARM for example.
  99. # Use "external-MODE" to use the precompiled external toolchains where MODE
  100. # is the type of external toolchain to use e.g. eabi.
  101. # POKYMODE = "external-eabi"
  102.  
  103. # Uncomment this to specify where BitBake should create its temporary files.
  104. # Note that a full build of everything in OpenEmbedded will take GigaBytes of hard
  105. # disk space, so make sure to free enough space. The default TMPDIR is
  106. # <build directory>/tmp
  107. #TMPDIR = "${POKYBASE}/build/tmp"
  108.  
  109. # The following are used to control options related to debugging.
  110. #
  111. # Uncomment this to change the optimization to make debugging easer, at the
  112. # possible cost of performance.
  113.  
  114. PACKAGE_DEBUG_SPLIT_STYLE = '.debug'
  115. # PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
  116.  
  117. # Uncomment these to build a package such that you can use gprof to profile it.
  118. # NOTE: This will only work with 'linux' targets, not
  119. # 'linux-uclibc', as uClibc doesn't provide the necessary
  120. # object files. Also, don't build glibc itself with these
  121. # flags, or it'll fail to build.
  122. #
  123. # PROFILE_OPTIMIZATION = "-pg"
  124. # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
  125. # LDFLAGS =+ "-pg"
  126.  
  127. # Uncomment this if you want BitBake to emit debugging output
  128. # BBDEBUG = "yes"
  129. # Uncomment this if you want BitBake to emit the log if a build fails.
  130. BBINCLUDELOGS = "yes"
  131.  
  132. # Set this if you wish to make pkgconfig libraries from your system available
  133. # for native builds. Combined with extra ASSUME_PROVIDEDs this can allow
  134. # native builds of applications like oprofileui-native (unsupported feature).
  135. #EXTRA_NATIVE_PKGCONFIG_PATH = ":/usr/lib/pkgconfig"
  136. #ASSUME_PROVIDED += "gtk+-native libglade-native"
  137.  
  138. ENABLE_BINARY_LOCALE_GENERATION = "1"
  139.  
  140. # The architecture to build SDK items for, by setting this you can build SDK
  141. # packages for architectures other than the host i.e. building i686 packages
  142. # on an x86_64 host.
  143. # Supported values are i686 and x86_64
  144. #SDKMACHINE ?= "i686"
  145.  
  146. # Poky can try and fetch packaged-staging packages from a http, https or ftp
  147. # mirror. Set this variable to the root of a pstage directory on a server.
  148. #SSTATE_MIRRORS ?= "\
  149. #file://.* http://someserver.tld/share/sstate/ \n \
  150. #file://.* file:///some/local/dir/sstate/"
  151.  
  152. # Default to not build 32 bit libs on 64 bit systems, comment this
  153. # out if that is desired
  154. NO32LIBS = "1"
  155.  
  156. # If you do not use (or have installed) gnome-terminal you will need to
  157. # uncomment these variables and set them to the terminal you wish to use
  158. # when resolving patches which cannot be applied
  159. # Supported shell prefixes for *_TERMCMD and *_TERMCMDRUN ARE:
  160. # GNOME, SCREEN, XTERM and KONSOLE
  161. #TERMCMD = "${KONSOLE_TERMCMD}"
  162. #TERMCMDRUN = "${KONSOLE_TERMCMDRUN}"
  163. INHERIT += "rm_work"
  164.  
  165. TOOLCHAIN_TYPE = "external"
  166. ### CSL public MIPS does <arch>-none-≤os>, so fill in the -none
  167. TARGET_VENDOR = "-none"
  168. ### Bring in external-toolchain-csl.bb
  169. TOOLCHAIN_BRAND = "csl"
  170. ### Where the CSL version is installed.
  171. TOOLCHAIN_PATH = "/opt/toolchain/sourcery-lite-4.3-51-t2"
  172. ### Where inside the CSL install the target libraries exist.
  173. TOOLCHAIN_SYSPATH = "${TOOLCHAIN_PATH}/mips-linux-gnu"
  174. ### Add tools to the PATH automatically.
  175. PATH_prepend = "${TOOLCHAIN_PATH}/bin:"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement