local.conf.sample 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. # Machine Selection
  15. #
  16. # You need to select a specific machine to target the build with. There are a selection
  17. # of emulated machines available which can boot and run in the QEMU emulator:
  18. #
  19. # This sets the default machine to be qemuarm if no other machine is selected:
  20. MACHINE ??= "qemuarm"
  21. #
  22. # Isar Configuration Selection
  23. #
  24. # You need to select a specific distribution configuration which will used for both:
  25. # generation of buildchroot environment and target root filesystem.
  26. #
  27. # This sets the default distribution configuration:
  28. DISTRO ??= "debian-stretch"
  29. DISTRO_ARCH ??= "armhf"
  30. #
  31. # Multiple Configuration Selection
  32. #
  33. # If you want to use multiple configuration files for the build, list them in the
  34. # following option.
  35. #
  36. # This sets the default multiple configurations used:
  37. BBMULTICONFIG = " \
  38. qemuarm-stretch \
  39. qemuarm-buster \
  40. qemuarm64-stretch \
  41. qemuarm64-buster \
  42. qemui386-stretch \
  43. qemui386-buster \
  44. qemuamd64-stretch \
  45. bananapi-stretch \
  46. de0-nano-soc-stretch \
  47. hikey-stretch \
  48. qemuamd64-buster \
  49. qemuamd64-buster-tgz \
  50. nand-ubi-demo-buster \
  51. rpi-stretch \
  52. "
  53. #
  54. # Where to place downloads
  55. #
  56. # During a first build the system will download many different source code tarballs
  57. # from various upstream projects. This can take a while, particularly if your network
  58. # connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you
  59. # can preserve this directory to speed up this part of subsequent builds. This directory
  60. # is safe to share between multiple builds on the same machine too.
  61. #
  62. # The default is a downloads directory under TOPDIR which is the build directory.
  63. #
  64. #DL_DIR ?= "${TOPDIR}/downloads"
  65. #
  66. # Where to place shared-state files
  67. #
  68. # BitBake has the capability to accelerate builds based on previously built output.
  69. # This is done using "shared state" files which can be thought of as cache objects
  70. # and this option determines where those files are placed.
  71. #
  72. # You can wipe out TMPDIR leaving this directory intact and the build would regenerate
  73. # from these files if no changes were made to the configuration. If changes were made
  74. # to the configuration, only shared state files where the state was still valid would
  75. # be used (done using checksums).
  76. #
  77. # The default is a sstate-cache directory under TOPDIR.
  78. #
  79. #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
  80. #
  81. # Where to place the build output
  82. #
  83. # This option specifies where the bulk of the building work should be done and
  84. # where BitBake should place its temporary files and output. Keep in mind that
  85. # this includes the extraction and compilation of many applications and the toolchain
  86. # which can use Gigabytes of hard disk space.
  87. #
  88. # The default is a tmp directory under TOPDIR.
  89. #
  90. #TMPDIR = "${TOPDIR}/tmp"
  91. #
  92. # Interactive shell configuration
  93. #
  94. # Under certain circumstances the system may need input from you and to do this it
  95. # can launch an interactive shell. It needs to do this since the build is
  96. # multithreaded and needs to be able to handle the case where more than one parallel
  97. # process may require the user's attention. The default is iterate over the available
  98. # terminal types to find one that works.
  99. #
  100. # Examples of the occasions this may happen are when resolving patches which cannot
  101. # be applied, to use the devshell or the kernel menuconfig
  102. #
  103. # Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none
  104. # Note: currently, Konsole support only works for KDE 3.x due to the way
  105. # newer Konsole versions behave
  106. #OE_TERMINAL = "auto"
  107. # By default disable interactive patch resolution (tasks will just fail instead):
  108. PATCHRESOLVE = "noop"
  109. #
  110. # Disk Space Monitoring during the build
  111. #
  112. # Monitor the disk space during the build. If there is less that 1GB of space or less
  113. # than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
  114. # shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort
  115. # of the build. The reason for this is that running completely out of space can corrupt
  116. # files and damages the build in ways which may not be easily recoverable.
  117. # It's necesary to monitor /tmp, if there is no space left the build will fail
  118. # with very exotic errors.
  119. BB_DISKMON_DIRS = "\
  120. STOPTASKS,${TMPDIR},1G,100K \
  121. STOPTASKS,${DL_DIR},1G,100K \
  122. STOPTASKS,${SSTATE_DIR},1G,100K \
  123. STOPTASKS,/tmp,100M,100K \
  124. ABORT,${TMPDIR},100M,1K \
  125. ABORT,${DL_DIR},100M,1K \
  126. ABORT,${SSTATE_DIR},100M,1K \
  127. ABORT,/tmp,10M,1K"
  128. #
  129. # Shared-state files from other locations
  130. #
  131. # As mentioned above, shared state files are prebuilt cache data objects which can
  132. # used to accelerate build time. This variable can be used to configure the system
  133. # to search other mirror locations for these objects before it builds the data itself.
  134. #
  135. # This can be a filesystem directory, or a remote url such as http or ftp. These
  136. # would contain the sstate-cache results from previous builds (possibly from other
  137. # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
  138. # cache locations to check for the shared objects.
  139. # NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH
  140. # at the end as shown in the examples below. This will be substituted with the
  141. # correct path within the directory structure.
  142. #SSTATE_MIRRORS ?= "\
  143. #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
  144. #file://.* file:///some/local/dir/sstate/PATH"
  145. # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
  146. # track the version of this file when it was generated. This can safely be ignored if
  147. # this doesn't mean anything to you.
  148. CONF_VERSION = "1"
  149. #
  150. # The default list of extra packages to be installed.
  151. IMAGE_INSTALL = "hello-isar example-raw example-module-${KERNEL_NAME} enable-fsck"
  152. #
  153. # Enable cross-compilation support
  154. # NOTE: this works on build host >= stretch for armhf, arm64 and amd64 targets for now.
  155. ISAR_CROSS_COMPILE ?= "0"
  156. #
  157. # Uncomment this to enable use of cached base repository
  158. #ISAR_USE_CACHED_BASE_REPO ?= "1"
  159. # Set root password to 'root'
  160. # Password was encrypted using following command:
  161. # mkpasswd -m sha512crypt -R 10000
  162. # mkpasswd is part of the 'whois' package of Debian
  163. CFG_ROOT_PW ?= "$6$rounds=10000$RXeWrnFmkY$DtuS/OmsAS2cCEDo0BF5qQsizIrq6jPgXnwv3PHqREJeKd1sXdHX/ayQtuQWVDHe0KIO0/sVH8dvQm1KthF0d/"