Fix typo in local.conf samples
[AGL/meta-agl.git] / templates / qemux86-64 / conf / local.conf.sample
1 # Machine Selection: QEMUx86-64
2 MACHINE ?= "qemux86-64"
3
4 # Comment out below if want to use QtWebkit
5 PACKAGECONFIG_remove_pn-qtquick1 = "webkit"
6
7 #
8 # This file is your local configuration file and is where all local user settings
9 # are placed. The comments in this file give some guide to the options a new user
10 # to the system might want to change but pretty much any configuration option can
11 # be set in this file. More adventurous users can look at local.conf.extended
12 # which contains other examples of configuration which can be placed in this file
13 # but new users likely won't need any of them initially.
14 #
15 # Lines starting with the '#' character are commented out and in some cases the
16 # default values are provided as comments to show people example syntax. Enabling
17 # the option is a question of removing the # character and making any change to the
18 # variable as required.
19
20 #
21 # Machine Selection
22 #
23 # You need to select a specific machine to target the build with. There are a selection
24 # of emulated machines available which can boot and run in the QEMU emulator:
25 #
26 #MACHINE ?= "qemuarm"
27 #MACHINE ?= "qemumips"
28 #MACHINE ?= "qemuppc"
29 #MACHINE ?= "qemux86"
30 #MACHINE ?= "qemux86-64"
31 #
32 # There are also the following hardware board target machines included for
33 # demonstration purposes:
34 #
35 #MACHINE ?= "beaglebone"
36 #MACHINE ?= "genericx86"
37 #MACHINE ?= "genericx86-64"
38 #MACHINE ?= "mpc8315e-rdb"
39 #MACHINE ?= "edgerouter"
40 #
41 # This sets the default machine to be qemux86 if no other machine is selected:
42 MACHINE ??= "qemux86-64"
43
44 #
45 # Where to place downloads
46 #
47 # During a first build the system will download many different source code tarballs
48 # from various upstream projects. This can take a while, particularly if your network
49 # connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you
50 # can preserve this directory to speed up this part of subsequent builds. This directory
51 # is safe to share between multiple builds on the same machine too.
52 #
53 # The default is a downloads directory under TOPDIR which is the build directory.
54 #
55 #DL_DIR ?= "${TOPDIR}/downloads"
56
57 #
58 # Where to place shared-state files
59 #
60 # BitBake has the capability to accelerate builds based on previously built output.
61 # This is done using "shared state" files which can be thought of as cache objects
62 # and this option determines where those files are placed.
63 #
64 # You can wipe out TMPDIR leaving this directory intact and the build would regenerate
65 # from these files if no changes were made to the configuration. If changes were made
66 # to the configuration, only shared state files where the state was still valid would
67 # be used (done using checksums).
68 #
69 # The default is a sstate-cache directory under TOPDIR.
70 #
71 #SSTATE_DIR ?= "${TOPDIR}/sstate-cache"
72
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 #
86 # Default policy config
87 #
88 # The distribution setting controls which policy settings are used as defaults.
89 # The default value is fine for general Yocto project use, at least initially.
90 # Ultimately when creating custom policy, people will likely end up subclassing
91 # these defaults.
92 #
93 #DISTRO ?= "poky"
94 DISTRO ?= "poky-agl"
95 # As an example of a subclass there is a "bleeding" edge policy configuration
96 # where many versions are set to the absolute latest code from the upstream
97 # source control systems. This is just mentioned here as an example, its not
98 # useful to most new users.
99 # DISTRO ?= "poky-bleeding"
100
101 #
102 # Package Management configuration
103 #
104 # This variable lists which packaging formats to enable. Multiple package backends
105 # can be enabled at once and the first item listed in the variable will be used
106 # to generate the root filesystems.
107 # Options are:
108 #  - 'package_deb' for debian style deb files
109 #  - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager)
110 #  - 'package_rpm' for rpm style packages
111 # E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
112 # We default to rpm:
113 PACKAGE_CLASSES ?= "package_rpm"
114
115 #
116 # SDK/ADT target architecture
117 #
118 # This variable specifies the architecture to build SDK/ADT items for and means
119 # you can build the SDK packages for architectures other than the machine you are
120 # running the build on (i.e. building i686 packages on an x86_64 host).
121 # Supported values are i686 and x86_64
122 #SDKMACHINE ?= "i686"
123
124 #
125 # Extra image configuration defaults
126 #
127 # The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
128 # images. Some of these options are added to certain image types automatically. The
129 # variable can contain the following options:
130 #  "dbg-pkgs"       - add -dbg packages for all installed packages
131 #                     (adds symbol information for debugging/profiling)
132 #  "dev-pkgs"       - add -dev packages for all installed packages
133 #                     (useful if you want to develop against libs in the image)
134 #  "ptest-pkgs"     - add -ptest packages for all ptest-enabled packages
135 #                     (useful if you want to run the package test suites)
136 #  "tools-sdk"      - add development tools (gcc, make, pkgconfig etc.)
137 #  "tools-debug"    - add debugging tools (gdb, strace)
138 #  "eclipse-debug"  - add Eclipse remote debugging support
139 #  "tools-profile"  - add profiling tools (oprofile, exmap, lttng, valgrind)
140 #  "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
141 #  "debug-tweaks"   - make an image suitable for development
142 #                     e.g. ssh root access has a blank password
143 # There are other application targets that can be used here too, see
144 # meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
145 # We default to enabling the debugging tweaks.
146 EXTRA_IMAGE_FEATURES = "debug-tweaks"
147
148 #
149 # Additional image features
150 #
151 # The following is a list of additional classes to use when building images which
152 # enable extra features. Some available options which can be included in this variable
153 # are:
154 #   - 'buildstats' collect build statistics
155 #   - 'image-mklibs' to reduce shared library files size for an image
156 #   - 'image-prelink' in order to prelink the filesystem image
157 #   - 'image-swab' to perform host system intrusion detection
158 # NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
159 # NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
160 USER_CLASSES ?= "buildstats image-mklibs image-prelink"
161
162 #
163 # Runtime testing of images
164 #
165 # The build system can test booting virtual machine images under qemu (an emulator)
166 # after any root filesystems are created and run tests against those images. To
167 # enable this uncomment this line. See classes/testimage(-auto).bbclass for
168 # further details.
169 #TEST_IMAGE = "1"
170 #
171 # Interactive shell configuration
172 #
173 # Under certain circumstances the system may need input from you and to do this it
174 # can launch an interactive shell. It needs to do this since the build is
175 # multithreaded and needs to be able to handle the case where more than one parallel
176 # process may require the user's attention. The default is iterate over the available
177 # terminal types to find one that works.
178 #
179 # Examples of the occasions this may happen are when resolving patches which cannot
180 # be applied, to use the devshell or the kernel menuconfig
181 #
182 # Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none
183 # Note: currently, Konsole support only works for KDE 3.x due to the way
184 # newer Konsole versions behave
185 #OE_TERMINAL = "auto"
186 # By default disable interactive patch resolution (tasks will just fail instead):
187 PATCHRESOLVE = "noop"
188
189 #
190 # Disk Space Monitoring during the build
191 #
192 # Monitor the disk space during the build. If there is less that 1GB of space or less
193 # than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
194 # shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort
195 # of the build. The reason for this is that running completely out of space can corrupt
196 # files and damages the build in ways which may not be easily recoverable.
197 BB_DISKMON_DIRS = "\
198     STOPTASKS,${TMPDIR},1G,100K \
199     STOPTASKS,${DL_DIR},1G,100K \
200     STOPTASKS,${SSTATE_DIR},1G,100K \
201     ABORT,${TMPDIR},100M,1K \
202     ABORT,${DL_DIR},100M,1K \
203     ABORT,${SSTATE_DIR},100M,1K"
204
205 #
206 # Shared-state files from other locations
207 #
208 # As mentioned above, shared state files are prebuilt cache data objects which can
209 # used to accelerate build time. This variable can be used to configure the system
210 # to search other mirror locations for these objects before it builds the data itself.
211 #
212 # This can be a filesystem directory, or a remote url such as http or ftp. These
213 # would contain the sstate-cache results from previous builds (possibly from other
214 # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
215 # cache locations to check for the shared objects.
216 # NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH
217 # at the end as shown in the examples below. This will be substituted with the
218 # correct path within the directory structure.
219 #SSTATE_MIRRORS ?= "\
220 #file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
221 #file://.* file:///some/local/dir/sstate/PATH"
222
223
224 #
225 # Qemu configuration
226 #
227 # By default qemu will build with a builtin VNC server where graphical output can be
228 # seen. The two lines below enable the SDL backend too. This assumes there is a
229 # libsdl library available on your build system.
230 PACKAGECONFIG_append_pn-qemu-native = " sdl"
231 PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
232 ASSUME_PROVIDED += "libsdl-native"
233
234 ###############
235 #
236 # AGL specifics
237 #
238 ###############
239
240 # AGL includes all kernel modules here for ease-of-use during development.
241 # Comment this out to be able to select the kernel modules yourself.
242 IMAGE_INSTALL_append = " kernel-modules"
243
244 # Likewise as we included all kernel modules by default in the filesystem,
245 # we do not need a separate tarball stored.
246 # Comment this out to receive the separate modules tarbal again.
247 MODULE_TARBALL_DEPLOY ?= "0"
248
249 # Configurations to run on VirtualBox/VMWare
250 #
251 # To get wide screen than default, there are a selection of resolutions
252 # available:
253 #
254 #APPEND += "uvesafb.mode_option=1024x768-32"
255 APPEND += "uvesafb.mode_option=1280x1024-32"
256 #APPEND += "uvesafb.mode_option=1600x1200-32"
257 #
258 # To avoid corrupt boot screen by systemd message, you can use serial
259 # console separated from VGA console or disable all boot messages by
260 # kernel command line.
261 #
262 # Configuration for serial console
263 APPEND += "console=ttyS0,115200n8"
264 #
265 # All boot message will be off
266 APPEND += "quiet"
267
268 ###############
269 # /END AGL
270 ###############
271
272
273 # CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
274 # track the version of this file when it was generated. This can safely be ignored if
275 # this doesn't mean anything to you.
276 CONF_VERSION = "1"