local.conf.sample.extended 17 KB

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