local.conf.sample.extended 16 KB

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