local.conf.sample.extended 15 KB

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