Advertisement
Guest User

Untitled

a guest
Feb 15th, 2011
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.37 KB | None | 0 0
  1. #
  2. # OpenEmbedded local configuration file (sample)
  3. #
  4. # Please visit the Wiki at http://openembedded.org/ for more info.
  5. #
  6. #
  7. # Be SURE to read this file in its entirety and the GettingStarted page on the
  8. # wiki before proceeding.
  9. #
  10. # Once you have done that, remove the line at the end of this
  11. # file and build away.
  12. #
  13. # WARNING: lines starting with a space (' ') will result in parse failures.
  14. # Remove '# ' from commented lines to activate them.
  15. #
  16. # NOTE: Do NOT use $HOME in your paths, BitBake does NOT expand ~ for you. If you
  17. # must have paths relative to your homedir use ${HOME} (note the {}'s there
  18. # you MUST have them for the variable expansion to be done by BitBake). Your
  19. # paths should all be absolute paths (They should all start with a / after
  20. # expansion. Stuff like starting with ${HOME} or ${TOPDIR} is ok).
  21.  
  22. # Use this to specify where BitBake should place the downloaded sources into
  23. DL_DIR = "${OEBASE}/sources"
  24.  
  25. # Delete the line below. Then specify which .bb files to consider for
  26. # your build. Typically this will be something like BBFILES = "/path/to/openembedded/recipes/*/*.bb"
  27. BBFILES = "${OEBASE}/openembedded/recipes/*/*.bb"
  28.  
  29.  
  30. # Use the BBMASK below to instruct BitBake to _NOT_ consider some .bb files
  31. # This is a regulary expression, so be sure to get your parenthesis balanced.
  32. BBMASK = ""
  33.  
  34. # Comment this if your host distribution does not provide the
  35. # help2man tool.
  36. ASSUME_PROVIDED += "help2man-native"
  37.  
  38. # Uncomment this if your host distribution has recent enough Linux
  39. # Kernel header files. Utilities we use to generate certain types of
  40. # target filesystems need somewhat recent header files.
  41. # ASSUME_PROVIDED += "linux-libc-headers-native"
  42.  
  43. # Uncomment this if you want to use a prebuilt toolchain. You will need to
  44. # provide packages for toolchain and additional libraries yourself. You also
  45. # have to set PATH in your environment to make sure BitBake finds additional binaries.
  46. # ASSUME_PROVIDED += "virtual/${TARGET_PREFIX}gcc virtual/libc"
  47.  
  48. # Uncomment this if you are building Linux 2.4 Embedix kernels.
  49. # i.e. openzaurus-sa-2.4.18 and openzaurus-pxa-2.4.18 - and don't forget
  50. # to rename the binaries as instructed in the Wiki.
  51. # Most users do not need this anymore thankfully!
  52. # ASSUME_PROVIDED += "virtual/arm-linux-gcc-2.95"
  53.  
  54. # Select between multiple alternative providers, if more than one is eligible.
  55. PREFERRED_PROVIDERS = "virtual/qte:qte virtual/libqpe:libqpe-opie"
  56. PREFERRED_PROVIDERS += " virtual/libsdl:libsdl-x11"
  57. PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-initial:gcc-cross-initial"
  58. PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc-intermediate:gcc-cross-intermediate"
  59. PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}gcc:gcc-cross"
  60. PREFERRED_PROVIDERS += " virtual/${TARGET_PREFIX}g++:gcc-cross"
  61.  
  62. # Uncomment this to specify where BitBake should create its temporary files.
  63. # Note that a full build of everything in OpenEmbedded will take GigaBytes of hard
  64. # disk space, so make sure to free enough space. The default TMPDIR is
  65. # <build directory>/tmp
  66. # Don't use symlinks in in the path to avoid problems
  67. TMPDIR = ${OEBASE}/tmp
  68.  
  69. # Uncomment this to specify a machine to build for. See the conf directory
  70. # for machines currently known to OpenEmbedded. This will automatically take care
  71. # of TARGET_ARCH
  72. MACHINE = "qemuarm"
  73.  
  74. # Use this to specify the target architecture. Note that this is only
  75. # needed when building for a machine not known to OpenEmbedded. Better use
  76. # the MACHINE attribute (see above)
  77. # TARGET_ARCH = "arm"
  78.  
  79. # Use this to specify the target operating system. The default is "linux",
  80. # for a normal linux system with glibc. Set this to "linux-uclibc" if you want
  81. # to build a uclibc based system.
  82. # Normally the DISTRO of your choosing will take care of this
  83. # TARGET_OS = "linux"
  84. # TARGET_OS = "linux-uclibc"
  85.  
  86. # Uncomment this to select a distribution policy. See the conf directory
  87. # for distributions currently known to OpenEmbedded.
  88. # Although it no longer contain version number in the (file-)name
  89. # openzaurus-unstable is a so called "versioned" distro, i.e. they
  90. # explicitely select specific versions of various packages.
  91. # Stay away from unversioned distros unless you really know what you are doing
  92. DISTRO = "angstrom-2010.x"
  93.  
  94. # So far, angstrom.conf sets ENABLE_BINARY_LOCALE_GENERATION
  95. # to generate binary locale packages at build time using qemu-native and
  96. # thereby guarantee i18n support on all devices. If your build breaks on
  97. # qemu-native consider disabling ENABLE_BINARY_LOCALE_GENERATION (note that
  98. # this breaks i18n on devices with less than 128MB RAM) or installing
  99. # a working third-party qemu (e.g. provided by your distribution) and
  100. # adding qemu-native to ASSUME_PROVIDED. Caveat emptor, since third-party
  101. # qemus lack patches needed to work with various OE targets.
  102. ENABLE_BINARY_LOCALE_GENERATION = "0"
  103. # ASSUME_PROVIDED += "qemu-native"
  104.  
  105. # If ENABLE_BINARY_LOCALE_GENERATION is set to "1", you can limit locales
  106. # generated to the list provided by GLIBC_GENERATE_LOCALES. This is huge
  107. # time-savior for developmental builds. Format: list of locale.encoding pairs
  108. # with spaces as separators.
  109. # GLIBC_GENERATE_LOCALES = "en_US.UTF-8 en_GB.UTF-8 de_DE.UTF-8"
  110. GLIBC_GENERATE_LOCALES = "en_US.UTF-8"
  111.  
  112. # Uncomment this to select a particular major kernel version if the MACHINE setting
  113. # supports more than one major kernel version. Currently this is suported by the
  114. # following MACHINE types: poodle, tosa and simpad.
  115. # MACHINE_KERNEL_VERSION = "2.6"
  116.  
  117. # Uncomment one of these to build packages during the build process.
  118. # This is done automatically if you set DISTRO (see above)
  119. # INHERIT = "package_ipk"
  120. # INHERIT = "package_tar"
  121. #INHERIT += "rm_work"
  122. INHERIT += "debian"
  123. INHERIT += "gettext"
  124.  
  125. # Add the required image file system types below. Valid are
  126. # jffs2, tar(.gz|bz2), cpio(.gz), cramfs, ext2(.gz), ext3(.gz), ext4(.gz|.bz2),
  127. # squashfs, squashfs-lzma
  128. IMAGE_FSTYPES = "jffs2 tar.bz2"
  129.  
  130. # Uncomment this if you want to keep the temporary rootfs
  131. # directory, this can be useful during development.
  132. # (Note that this rootfs is NOT usuable as NFS export.)
  133. # IMAGE_KEEPROOTFS = "1"
  134.  
  135. # Uncomment this to enable the use of ccache when building. Due to
  136. # the nature of our builds this is only helpful in cases when one
  137. # is rebuilding a recipe or set of recipes, repeatedly.
  138. # CCACHE = "${@bb.which(bb.data.getVar('PATH', d, 1), 'ccache') and 'ccache '}"
  139.  
  140. # Uncomment this to disable the parse cache (not recommended).
  141. # CACHE = ""
  142.  
  143. # Uncomment this if you want BitBake to emit debugging output
  144. BBDEBUG = "yes"
  145.  
  146. # Use DEBUG_BUILD to build packages with DEBUG_OPTIMIZATION instead of
  147. # FULL_OPTIMIZATION.
  148. #
  149. # DEBUG_BUILD = "1"
  150.  
  151. # If you want to have unstripped ready-to-debug binaries, set this to "no",
  152. # although for debugging you can use automatically produced -dbg packages.
  153. # If you need to have completely undebuggable builds, set this to "full",
  154. # by default gnu.debuglink section is left in the binaries after stripping, so
  155. # this might be useful if you want to have checksum-level binary consistency
  156. # across successive builds.
  157. # PACKAGE_STRIP = "no"
  158.  
  159. # Uncomment these to build a package such that you can use gprof to profile it.
  160. # NOTE: This will only work with 'linux' targets, not
  161. # 'linux-uclibc', as uClibc doesn't provide the necessary
  162. # object files. Also, don't build glibc itself with these
  163. # flags, or it'll fail to build.
  164. #
  165. # PROFILE_OPTIMIZATION = "-pg"
  166. # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
  167. # LDFLAGS =+ "-pg"
  168.  
  169. # Uncomment this to enable parallel make.
  170. # This allows make to spawn mutliple processes to take advantage of multiple
  171. # processors. Useful on SMP machines. This may break some packages - we're
  172. # in the process of marking these so let us know if you find any.
  173. PARALLEL_MAKE = "-j 4"
  174.  
  175. # Uncomment to run multiple bitbake threads in parallel.
  176. # Bitbake can do multiple jobs in parallel: Its a good idea make use of
  177. # all available resources: e.g. to download sources while some other
  178. # piece of software is compiled.
  179. BB_NUMBER_THREADS = "2"
  180.  
  181. # Uncomment this if you want BitBake to emit the log if a build fails.
  182. BBINCLUDELOGS = "yes"
  183.  
  184. # Uncomment this if you want to install shared libraries directly under their SONAME,
  185. # rather than installing as the full version and symlinking to the SONAME.
  186. # PACKAGE_SNAP_LIB_SYMLINKS = "1"
  187.  
  188. # EDIT THIS FILE and then remove the line below before using!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement