local.conf.sample.extended 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400
  1. # BBMASK contains regular expressions that can be used to tell BitBake to ignore
  2. # certain recipes.
  3. #BBMASK = ""
  4. #
  5. # Parallelism Options
  6. #
  7. # These two options control how much parallelism BitBake should use. The first
  8. # option determines how many tasks bitbake should run in parallel:
  9. #
  10. #BB_NUMBER_THREADS ?= "4"
  11. #
  12. # Default to setting automatically based on cpu count
  13. #BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
  14. #
  15. # The second option controls how many processes make should run in parallel when
  16. # running compile tasks:
  17. #
  18. #PARALLEL_MAKE ?= "-j 4"
  19. #
  20. # Default to setting automatically based on cpu count
  21. #PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
  22. #
  23. # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
  24. # be appropriate for example.
  25. # glibc configurability is used to reduce minimal image's size.
  26. # the all supported glibc options are listed in DISTRO_FEATURES_LIBC
  27. # and disabled by default. Uncomment and copy the DISTRO_FEATURES_LIBC
  28. # and DISTRO_FEATURES definitions to local.conf to enable the options.
  29. #DISTRO_FEATURES_LIBC = "ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \
  30. # libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \
  31. # libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-locale-code \
  32. # libc-memusage libc-nis libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams libc-sunrpc \
  33. # libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \
  34. # libc-posix-wchar-io"
  35. #DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci ${DISTRO_FEATURES_LIBC}"
  36. # If you want to get an image based on directfb without x11, Please copy this variable to build/conf/local.conf
  37. #DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g directfb ${DISTRO_FEATURES_LIBC}"
  38. # ENABLE_BINARY_LOCALE_GENERATION controls the generation of binary locale
  39. # packages at build time using qemu-native. Disabling it (by setting it to 0)
  40. # will save some build time at the expense of breaking i18n on devices with
  41. # less than 128MB RAM.
  42. #ENABLE_BINARY_LOCALE_GENERATION = "1"
  43. # Set GLIBC_GENERATE_LOCALES to the locales you wish to generate should you not
  44. # wish to perform the time-consuming step of generating all LIBC locales.
  45. # NOTE: If removing en_US.UTF-8 you will also need to uncomment, and set
  46. # appropriate value for IMAGE_LINGUAS.
  47. # WARNING: this may break localisation!
  48. #GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8"
  49. #IMAGE_LINGUAS ?= "en-gb"
  50. # The following are used to control options related to debugging.
  51. #
  52. # Uncomment this to change the optimization to make debugging easer, at the
  53. # possible cost of performance.
  54. # DEBUG_BUILD = "1"
  55. #
  56. # Uncomment this to disable the stripping of the installed binaries
  57. # INHIBIT_PACKAGE_STRIP = "1"
  58. #
  59. # Uncomment this to disable the split of the debug information into -dbg files
  60. # INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
  61. #
  62. # When splitting debug information, the following controls the results of the
  63. # file splitting.
  64. #
  65. # .debug (default):
  66. # When splitting the debug information will be placed into
  67. # a .debug directory in the same dirname of the binary produced:
  68. # /bin/foo -> /bin/.debug/foo
  69. #
  70. # debug-file-directory:
  71. # When splitting the debug information will be placed into
  72. # a central debug-file-directory, /usr/lib/debug:
  73. # /bin/foo -> /usr/lib/debug/bin/foo.debug
  74. #
  75. # Any source code referenced in the debug symbols will be copied
  76. # and made available within the /usr/src/debug directory
  77. #
  78. #PACKAGE_DEBUG_SPLIT_STYLE = '.debug'
  79. # PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'
  80. # Uncomment these to build a package such that you can use gprof to profile it.
  81. # NOTE: This will only work with 'linux' targets, not
  82. # 'linux-uclibc', as uClibc doesn't provide the necessary
  83. # object files. Also, don't build glibc itself with these
  84. # flags, or it'll fail to build.
  85. #
  86. # PROFILE_OPTIMIZATION = "-pg"
  87. # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
  88. # LDFLAGS =+ "-pg"
  89. # TCMODE controls the characteristics of the generated packages/images by
  90. # telling poky which toolchain 'profile' to use.
  91. #
  92. # The default is "default" which uses the internal toolchain. With
  93. # additional layers, it is possible to set this to use a precompiled
  94. # external toolchain. One example is the Sourcery G++ Toolchain, support
  95. # for which is now in the separate meta-sourcery layer:
  96. #
  97. # http://github.com/MentorEmbedded/meta-sourcery/
  98. #
  99. # meta-sourcery can be used as a template for adding support for other
  100. # external toolchains. See the link above for further details.
  101. #
  102. # TCMODE points the system to a file in conf/distro/include/tcmode-${TCMODE}.inc,
  103. # so for meta-sourcery which has conf/distro/include/tcmode-external-sourcery.inc
  104. # you would set it as follows:
  105. #
  106. # TCMODE ?= "external-sourcery"
  107. # mklibs library size optimization is more useful to smaller images,
  108. # and less useful for bigger images. Also mklibs library optimization
  109. # can break the ABI compatibility, so should not be applied to the
  110. # images which are to be extended or upgraded later.
  111. #This enabled mklibs library size optimization just for the specified image.
  112. #MKLIBS_OPTIMIZED_IMAGES ?= "core-image-minimal"
  113. #This enable mklibs library size optimization will be for all the images.
  114. #MKLIBS_OPTIMIZED_IMAGES ?= "all"
  115. # Uncomment this if your host distribution provides the help2man tool.
  116. #ASSUME_PROVIDED += "help2man-native"
  117. # This value is currently used by pseudo to determine if the recipe should
  118. # build both the 32-bit and 64-bit wrapper libraries on a 64-bit build system.
  119. #
  120. # Pseudo will attempt to determine if a 32-bit wrapper is necessary, but
  121. # it doesn't always guess properly. If you have 32-bit executables on
  122. # your 64-bit build system, you likely want to set this to "0",
  123. # otherwise you could end up with incorrect file attributes on the
  124. # target filesystem.
  125. #
  126. # Default is to not build 32 bit libs on 64 bit systems, uncomment this
  127. # if you need the 32 bits libs
  128. #NO32LIBS = "0"
  129. # Uncomment the following lines to enable multilib builds
  130. #require conf/multilib.conf
  131. #MULTILIBS = "multilib:lib32"
  132. #DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
  133. # Set RPM_PREFER_ELF_ARCH to configure preferred ABI when using rpm packaging
  134. # backend to generate a rootfs, choices are:
  135. # 1: ELF32 wins
  136. # 2: ELF64 wins
  137. # 4: ELF64 N32 wins (for mips64 or mips64el only)
  138. #RPM_PREFER_ELF_ARCH ?= "2"
  139. # The network based PR service host and port
  140. # Uncomment the following lines to enable PRservice.
  141. # Set PRSERV_HOST to 'localhost:0' to automatically
  142. # start local PRService.
  143. # Set to other values to use remote PRService.
  144. #PRSERV_HOST = "localhost:0"
  145. # Additional image generation features
  146. #
  147. # The following is a list of classes to import to use in the generation of images
  148. # currently an example class is image_types_uboot
  149. # IMAGE_CLASSES = " image_types_uboot"
  150. # The following options will build a companion 'debug filesystem' in addition
  151. # to the normal deployable filesystem. This companion system allows a
  152. # debugger to know the symbols and related sources. It can be used to
  153. # debug a remote 'production' system without having to add the debug symbols
  154. # and sources to remote system. If IMAGE_FSTYPES_DEBUGFS is not defined, it
  155. # defaults to IMAGE_FSTYPES.
  156. #IMAGE_GEN_DEBUGFS = "1"
  157. #IMAGE_FSTYPES_DEBUGFS = "tar.gz"
  158. # Incremental rpm image generation, the rootfs would be totally removed
  159. # and re-created in the second generation by default, but with
  160. # INC_RPM_IMAGE_GEN = "1", the rpm based rootfs would be kept, and will
  161. # do update(remove/add some pkgs) on it. NOTE: This is not suggested
  162. # when you want to create a productive rootfs
  163. #INC_RPM_IMAGE_GEN = "1"
  164. # This is a list of packages that require a commercial license to ship
  165. # product. If shipped as part of an image these packages may have
  166. # implications so they are disabled by default. To enable them,
  167. # un-comment the below as appropriate.
  168. #LICENSE_FLAGS_WHITELIST = "commercial_gst-fluendo-mp3 \
  169. # commercial_gst-openmax \
  170. # commercial_gst-plugins-ugly \
  171. # commercial_lame \
  172. # commercial_libmad \
  173. # commercial_libomxil \
  174. # commercial_mpeg2dec"
  175. #
  176. # Disk space monitor, take action when the disk space or the amount of
  177. # inode is running low, it is enabled when BB_DISKMON_DIRS is set.
  178. #
  179. # Set the directory for the monitor, the format is:
  180. # "action,directory,minimum_space,minimum_free_inode"
  181. #
  182. # The "action" must be set and should be one of:
  183. # ABORT: Immediately abort
  184. # STOPTASKS: The new tasks can't be executed any more, will stop the build
  185. # when the running tasks have been done.
  186. # WARN: show warnings (see BB_DISKMON_WARNINTERVAL for more information)
  187. #
  188. # The "directory" must be set, any directory is OK.
  189. #
  190. # Either "minimum_space" or "minimum_free_inode" (or both of them)
  191. # should be set, otherwise the monitor would not be enabled,
  192. # the unit can be G, M, K or none, but do NOT use GB, MB or KB
  193. # (B is not needed).
  194. #BB_DISKMON_DIRS = "STOPTASKS,${TMPDIR},1G,100K WARN,${SSTATE_DIR},1G,100K"
  195. #
  196. # Set disk space and inode interval (only works when the action is "WARN",
  197. # the unit can be G, M, or K, but do NOT use the GB, MB or KB
  198. # (B is not needed), the format is:
  199. # "disk_space_interval,disk_inode_interval", the default value is
  200. # "50M,5K" which means that it would warn when the free space is
  201. # lower than the minimum space(or inode), and would repeat the warning
  202. # when the disk space reduces 50M (or the amount of inode reduces 5k).
  203. #BB_DISKMON_WARNINTERVAL = "50M,5K"
  204. # Archive the source and put them to ${DEPLOY_DIR}/sources/.
  205. #
  206. #INHERIT += "archiver"
  207. #
  208. # The tarball for the patched source will be created by default, and you
  209. # can configure the archiver as follow:
  210. #
  211. # Create archive for:
  212. # 1) original (or unpacked) source:
  213. #ARCHIVER_MODE[src] = "original"
  214. # 2) patched source: (default)
  215. #ARCHIVER_MODE[src] = "patched"
  216. # 3) configured source:
  217. #ARCHIVER_MODE[src] = "configured"
  218. #
  219. # 4) the patches between do_unpack and do_patch:
  220. #ARCHIVER_MODE[diff] = "1"
  221. # set the files that you'd like to exclude from the diff:
  222. #ARCHIVER_MODE[diff-exclude] ?= ".pc autom4te.cache patches"
  223. #
  224. # 5) the environment data, similar to 'bitbake -e recipe':
  225. #ARCHIVER_MODE[dumpdata] = "1"
  226. #
  227. # 6) the recipe (.bb and .inc):
  228. #ARCHIVER_MODE[recipe] = "1"
  229. #
  230. # 7) Whether output the .src.rpm package:
  231. #ARCHIVER_MODE[srpm] = "1"
  232. #
  233. # 8) Filter the license, the recipe whose license in
  234. # COPYLEFT_LICENSE_INCLUDE will be included, and in
  235. # COPYLEFT_LICENSE_EXCLUDE will be excluded.
  236. #COPYLEFT_LICENSE_INCLUDE = 'GPL* LGPL*'
  237. #COPYLEFT_LICENSE_EXCLUDE = 'CLOSED Proprietary'
  238. #
  239. # 9) Config the recipe type that will be archived, the type can be
  240. # target, native, nativesdk, cross, crosssdk and cross-canadian,
  241. # you can set one or more types. Archive all types by default.
  242. #COPYLEFT_RECIPE_TYPES = 'target'
  243. #
  244. # Remove the old image before the new one generated to save disk space
  245. #RM_OLD_IMAGE = "1"
  246. #
  247. # GCC/LD FLAGS to enable more secure code generation
  248. #
  249. # By including the security_flags include file you enable flags
  250. # to the compiler and linker that cause them to generate more secure
  251. # code, this is enabled by default in the poky-lsb distro.
  252. # This does affect compile speed slightly.
  253. #
  254. # Use the following line to enable the security compiler and linker flags to your build
  255. #require conf/distro/include/security_flags.inc
  256. # Image level user/group configuration.
  257. # Inherit extrausers to make the setting of EXTRA_USERS_PARAMS effective.
  258. #INHERIT += "extrausers"
  259. # User / group settings
  260. # The settings are sperated by the ; character.
  261. # Each setting is actually a command. The supported commands are useradd,
  262. # groupadd, userdel, groupdel, usermod and groupmod.
  263. #EXTRA_USERS_PARAMS = "\
  264. #useradd -p '' tester; \
  265. #groupadd developers; \
  266. #userdel nobody; \
  267. #groupdel video; \
  268. #groupmod -g 1020 developers; \
  269. #usermod -s /bin/sh tester; \
  270. #"
  271. # Various packages dynamically add users and groups to the system at package
  272. # install time. For programs that do not care what the uid/gid is of the
  273. # resulting users/groups, the order of the install will determine the final
  274. # uid/gid. This can lead to non-deterministic uid/gid values from one build
  275. # to another. Use the following settings to specify that all user/group adds
  276. # should be created based on a static passwd/group file.
  277. #
  278. # Note, if you enable or disable the useradd-staticids in a configured system,
  279. # the TMPDIR may contain incorrect uid/gid values. Clearing the TMPDIR
  280. # will correct this condition.
  281. #
  282. # By default the system looks in the BBPATH for files/passwd and files/group
  283. # the default can be overriden by spefying USERADD_UID/GID_TABLES.
  284. #
  285. #USERADDEXTENSION = "useradd-staticids"
  286. #USERADD_UID_TABLES = "files/passwd"
  287. #USERADD_GID_TABLES = "files/group"
  288. #
  289. # In order to prevent generating a system where a dynamicly assigned uid/gid
  290. # can exist, you should enable the following setting. This will force the
  291. # system to error out if the user/group name is not defined in the
  292. # files/passwd or files/group (or specified replacements.)
  293. #USERADD_ERROR_DYNAMIC = "1"
  294. # Enabling FORTRAN
  295. # Note this is not officially supported and is just illustrated here to
  296. # show an example of how it can be done
  297. # You'll also need your fortran recipe to depend on libgfortran
  298. #FORTRAN_forcevariable = ",fortran"
  299. #RUNTIMETARGET_append_pn-gcc-runtime = " libquadmath"
  300. #
  301. # Kernel image features
  302. #
  303. # The INITRAMFS_IMAGE image variable will cause an additional recipe to
  304. # be built as a dependency to the what ever rootfs recipe you might be
  305. # using such as core-image-sato. The initramfs might be needed for
  306. # the initial boot of of the target system such as to load kernel
  307. # modules prior to mounting the root file system.
  308. #
  309. # INITRAMFS_IMAGE_BUNDLE variable controls if the image recipe
  310. # specified by the INITRAMFS_IMAGE will be run through an extra pass
  311. # through the kernel compilation in order to build a single binary
  312. # which contains both the kernel image and the initramfs. The
  313. # combined binary will be deposited into the tmp/deploy directory.
  314. # NOTE: You can set INITRAMFS_IMAGE in an image recipe, but
  315. # INITRAMFS_IMAGE_BUNDLE can only be set in a conf file.
  316. #
  317. #INITRAMFS_IMAGE = "core-image-minimal-initramfs"
  318. #INITRAMFS_IMAGE_BUNDLE = "1"
  319. #
  320. # IPK Hierarchical feed
  321. #
  322. # In some cases it may be desirable not to have all package files in the same
  323. # directory. An example would be when package feeds are to be uploaded to a
  324. # shared webhosting service or transferred to a Windows machine which may have
  325. # problems with directories containing multiple thousands of files.
  326. #
  327. # If the IPK_HIERARCHICAL_FEED variable is set to "1", packages will be split
  328. # between subdirectories in a similar way to how Debian package feeds are
  329. # organised. In the hierarchical feed, package files are written to
  330. # <outdir>/<arch>/<pkg_prefix>/<pkg_subdir>, where pkg_prefix is the first
  331. # letter of the package file name for non-lib packages or "lib" plus the 4th
  332. # letter of the package file name for lib packages (eg, 'l' for less, 'libc' for
  333. # libc6). pkg_subdir is the root of the package file name, discarding the
  334. # version and architecture parts and the common suffixes '-dbg', '-dev', '-doc',
  335. # '-staticdev', '-locale' and '-locale-*' which are listed in
  336. # meta/conf/bitbake.conf.
  337. #
  338. # If IPK_HIERARCHICAL_FEED is unset or set to any other value, the traditional
  339. # feed layout is used where package files are placed in <outdir>/<arch>/.
  340. #
  341. #IPK_HIERARCHICAL_FEED = "1"
  342. #
  343. # Using RPM4
  344. #
  345. # Currently the rootfs_rpm code has a hard depends on rpmresolve:do_populate_sysroot,
  346. # when using rpm4 the rpmresolve code will not compile due to a missing header file.
  347. # That dependency needs to be removed when using RPM4, also the PREFERRED_VERSION needs
  348. # to be set. This example shows how to enable rpm4
  349. # PREFERRED_VERSION_rpm = "4.11.2"
  350. # PREFERRED_VERSION_rpm-native = "4.11.2"
  351. # RPMROOTFSDEPENDS_remove = "rpmresolve-native:do_populate_sysroot"
  352. #
  353. # Use busybox/mdev for system initialization
  354. #
  355. #VIRTUAL-RUNTIME_dev_manager = "busybox-mdev"
  356. #VIRTUAL-RUNTIME_login_manager = "busybox"
  357. #VIRTUAL-RUNTIME_init_manager = "busybox"
  358. #VIRTUAL-RUNTIME_initscripts = "initscripts"
  359. #VIRTUAL-RUNTIME_keymaps = "keymaps"
  360. #DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
  361. #
  362. # Use systemd for system initialization
  363. #
  364. #DISTRO_FEATURES_append = " systemd"
  365. #DISTRO_FEATURES_BACKFILL_CONSIDERED += "sysvinit"
  366. #VIRTUAL-RUNTIME_init_manager = "systemd"
  367. #VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"