1. #
  2. # This file is your local configuration file and is where all local user settings
  3. # are placed. The comments in this file give some guide to the options a new user
  4. # to the system might want to change but pretty much any configuration option can
  5. # be set in this file. More adventurous users can look at local.conf.extended
  6. # which contains other examples of configuration which can be placed in this file
  7. # but new users likely won't need any of them initially.
  8. #
  9. # Lines starting with the '#' character are commented out and in some cases the
  10. # default values are provided as comments to show people example syntax. Enabling
  11. # the option is a question of removing the # character and making any change to the
  12. # variable as required.
  13. #
  14. # Parallelism Options
  15. #
  16. # These two options control how much parallelism BitBake should use. The first
  17. # option determines how many tasks bitbake should run in parallel:
  18. BB_NUMBER_THREADS = "4"
  19. # The second option controls how many processes make should run in parallel when
  20. # running compile tasks:
  21. PARALLEL_MAKE = "-j5"
  22. # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
  23. # be appropriate for example.
  24. #
  25. # Machine Selection
  26. #
  27. # You need to select a specific machine to target the build with. There are a selection
  28. # of emulated machines available which can boot and run in the QEMU emulator:
  29. #
  30. #MACHINE ?= "qemuarm"
  31. #MACHINE ?= "qemumips"
  32. #MACHINE ?= "qemuppc"
  33. #MACHINE ?= "qemux86"
  34. #MACHINE ?= "qemux86-64"
  35. #
  36. # There are also the following hardware board target machines included for
  37. # demonstration purposes:
  38. #
  39. #MACHINE ?= "atom-pc"
  40. #MACHINE ?= "beagleboard"
  41. #MACHINE ?= "mpc8315e-rdb"
  42. #MACHINE ?= "routerstationpro"
  43. #
  44. MACHINE = "raspberrypi"
  45. # This sets the default machine to be qemux86 if no other machine is selected:
  46. MACHINE ??= "qemux86"
  47. #
  48. # Where to place downloads
  49. #
  50. # During a first build the system will download many different source code tarballs
  51. # from various upstream projects. This can take a while, particularly if your network
  52. # connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you
  53. # can preserve this directory to speed up this part of subsequent builds. This directory
  54. # is safe to share between multiple builds on the same machine too.
  55. #
  56. # The default is a downloads directory under TOPDIR which is the build directory.
  57. DL_DIR ?= "${HOME}/src"
  58. #
  59. # Where to place shared-state files
  60. #
  61. # BitBake has the capability to accelerate builds based on previously built output.
  62. # This is done using "shared state" files which can be thought of as cache objects
  63. # and this option determines where those files are placed.
  64. #
  65. # You can wipe out TMPDIR leaving this directory intact and the build would regenerate
  66. # from these files if no changes were made to the configuration. If changes were made
  67. # to the configuration, only shared state files where the state was still valid would
  68. # be used (done using checksums).
  69. #
  70. # The default is a sstate-cache directory under TOPDIR.
  71. #
  72. #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
  73. #
  74. # Where to place the build output
  75. #
  76. # This option specifies where the bulk of the building work should be done and
  77. # where BitBake should place its temporary files and output. Keep in mind that
  78. # this includes the extraction and compilation of many applications and the toolchain
  79. # which can use Gigabytes of hard disk space.
  80. #
  81. # The default is a tmp directory under TOPDIR.
  82. #
  83. #TMPDIR = "${TOPDIR}/tmp"
  84. #
  85. # Default policy config
  86. #
  87. # The distribution setting controls which policy settings are used as defaults.
  88. # The default value is fine for general Yocto project use, at least initially.
  89. # Ultimately when creating custom policy, people will likely end up subclassing
  90. # these defaults.
  91. #
  92. DISTRO ?= "poky"
  93. # As an example of a subclass there is a "bleeding" edge policy configuration
  94. # where many versions are set to the absolute latest code from the upstream
  95. # source control systems. This is just mentioned here as an example, its not
  96. # useful to most new users.
  97. # DISTRO ?= "poky-bleeding"
  98. #
  99. # Package Management configuration
  100. #
  101. # This variable lists which packaging formats to enable. Multiple package backends
  102. # can be enabled at once and the first item listed in the variable will be used
  103. # to generate the root filesystems.
  104. # Options are:
  105. # - 'package_deb' for debian style deb files
  106. # - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager)
  107. # - 'package_rpm' for rpm style packages
  108. # E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
  109. # We default to rpm:
  110. #PACKAGE_CLASSES ?= "package_rpm"
  111. PACKAGE_CLASSES = "package_ipk"
  112. #
  113. # SDK/ADT target architecture
  114. #
  115. # This variable specified the architecture to build SDK/ADT items for and means
  116. # you can build the SDK packages for architectures other than the machine you are
  117. # running the build on (i.e. building i686 packages on an x86_64 host._
  118. # Supported values are i686 and x86_64
  119. #SDKMACHINE ?= "i686"
  120. #
  121. # Extra image configuration defaults
  122. #
  123. # The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
  124. # images. Some of these options are added to certain image types automatically. The
  125. # variable can contain the following options:
  126. # "dbg-pkgs" - add -dbg packages for all installed packages
  127. # (adds symbol information for debugging/profiling)
  128. # "dev-pkgs" - add -dev packages for all installed packages
  129. # (useful if you want to develop against libs in the image)
  130. # "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
  131. # "tools-debug" - add debugging tools (gdb, strace)
  132. # "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only))
  133. # "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
  134. # "debug-tweaks" - make an image suitable for development
  135. # e.g. ssh root access has a blank password
  136. # There are other application targets that can be used here too, see
  137. # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
  138. # We default to enabling the debugging tweaks.
  139. EXTRA_IMAGE_FEATURES = "debug-tweaks"
  140. # customize image builds
  141. #IMAGE_FSTYPES = "tar.bz2 ext3.xz rpi-sdimg.xz"
  142. #SDIMG_ROOTFS_TYPE = "ext3.xz"
  143. INHERIT += "rm_work"
  144. DEFAULT_TIMEZONE = "PST8PDT"
  145. # possible values are 1 (DVI only) or 2 (hdmi with audio)
  146. DEFAULT_AUDIO_OUT = "2"
  147. # need this for real-time audio (includes RT_GROUP_SCHED)
  148. KERNEL_ENABLE_CGROUPS = "1"
  149. # don't need this
  150. ARM_KEEP_OABI = "0"
  151. # possible values are internal or external
  152. #CUSTOM_FEED_CONFIG = "internal"
  153. # need to sort out this mesa/broadcom libgl silliness
  154. #COMPATIBLE_MACHINE_pn-mesa = "none"
  155. #BBMASK = "meta-xfce/recipes-multimedia"
  156. LICENSE_FLAGS_WHITELIST = "\
  157. commercial_gst-fluendo-mp3 \
  158. commercial_gst-openmax \
  159. commercial_gst-plugins-ugly \
  160. commercial_lame \
  161. commercial_libmad \
  162. commercial_libomxil \
  163. commercial_mpeg2dec \
  164. commercial_qmmp"
  165. #
  166. # Additional image features
  167. #
  168. # The following is a list of additional classes to use when building images which
  169. # enable extra features. Some available options which can be included in this variable
  170. # are:
  171. # - 'buildstats' collect build statistics
  172. # - 'image-mklibs' to reduce shared library files size for an image
  173. # - 'image-prelink' in order to prelink the filesystem image
  174. # - 'image-swab' to perform host system intrusion detection
  175. # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
  176. # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
  177. USER_CLASSES ?= "buildstats image-mklibs image-prelink"
  178. #
  179. # Runtime testing of images
  180. #
  181. # The build system can test booting virtual machine images under qemu (an emulator)
  182. # after any root filesystems are created and run tests against those images. To
  183. # enable this uncomment this line
  184. #IMAGETEST = "qemu"
  185. #
  186. # This variable controls which tests are run against virtual images if enabled
  187. # above. The following would enable bat, boot the test case under the sanity suite
  188. # and perform toolchain tests
  189. #TEST_SCEN = "sanity bat sanity:boot toolchain"
  190. #
  191. # Because of the QEMU booting slowness issue (see bug #646 and #618), the
  192. # autobuilder may suffer a timeout issue when running sanity tests. We introduce
  193. # the variable TEST_SERIALIZE here to reduce the time taken by the sanity tests.
  194. # It is set to 1 by default, which will boot the image and run cases in the same
  195. # image without rebooting or killing the machine instance. If it is set to 0, the
  196. # image will be copied and tested for each case, which will take longer but be
  197. # more precise.
  198. #TEST_SERIALIZE = "1"
  199. #
  200. # Interactive shell configuration
  201. #
  202. # Under certain circumstances the system may need input from you and to do this it
  203. # can launch an interactive shell. It needs to do this since the build is
  204. # multithreaded and needs to be able to handle the case where more than one parallel
  205. # process may require the user's attention. The default is iterate over the available
  206. # terminal types to find one that works.
  207. #
  208. # Examples of the occasions this may happen are when resolving patches which cannot
  209. # be applied, to use the devshell or the kernel menuconfig
  210. #
  211. # Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none
  212. # Note: currently, Konsole support only works for KDE 3.x due to the way
  213. # newer Konsole versions behave
  214. #OE_TERMINAL = "auto"
  215. # By default disable interactive patch resolution (tasks will just fail instead):
  216. PATCHRESOLVE = "noop"
  217. #
  218. # Shared-state files from other locations
  219. #
  220. # As mentioned above, shared state files are prebuilt cache data objects which can
  221. # used to accelerate build time. This variable can be used to configure the system
  222. # to search other mirror locations for these objects before it builds the data itself.
  223. #
  224. # This can be a filesystem directory, or a remote url such as http or ftp. These
  225. # would contain the sstate-cache results from previous builds (possibly from other
  226. # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
  227. # cache locations to check for the shared objects.
  228. #SSTATE_MIRRORS ?= "\
  229. #file://.* http://someserver.tld/share/sstate/ \n \
  230. #file://.* file:///some/local/dir/sstate/"
  231. # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
  232. # track the version of this file when it was generated. This can safely be ignored if
  233. # this doesn't mean anything to you.
  234. CONF_VERSION = "1"

raspberrypi poky local.conf