diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-08-17 17:34:59 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-08-17 17:41:20 +0100 |
commit | e624b2700abc93990b58bef0ba9447373148a31c (patch) | |
tree | 1e8c6773d5eebb7177da07499fa33647e2b4945d /meta/conf | |
parent | 2225e1214285f0e9a3c0ee2962b3d678c5c05292 (diff) | |
download | poky-e624b2700abc93990b58bef0ba9447373148a31c.tar.gz |
build/conf: move sample conf files to meta/conf
Currently rm -fr build breaks things badly but will work if we move the sample
configuration files to meta/conf - this patch does so.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bblayers.conf.sample | 10 | ||||
-rw-r--r-- | meta/conf/local.conf.sample | 151 | ||||
-rw-r--r-- | meta/conf/site.conf.sample | 40 |
3 files changed, 201 insertions, 0 deletions
diff --git a/meta/conf/bblayers.conf.sample b/meta/conf/bblayers.conf.sample new file mode 100644 index 0000000000..d361f244d9 --- /dev/null +++ b/meta/conf/bblayers.conf.sample | |||
@@ -0,0 +1,10 @@ | |||
1 | # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
2 | # changes incompatibly | ||
3 | LCONF_VERSION = "2" | ||
4 | |||
5 | BBFILES ?= "" | ||
6 | BBLAYERS = " \ | ||
7 | ##POKYBASE##/meta \ | ||
8 | ##POKYBASE##/meta-moblin \ | ||
9 | ##POKYBASE##/meta-emenlow \ | ||
10 | " | ||
diff --git a/meta/conf/local.conf.sample b/meta/conf/local.conf.sample new file mode 100644 index 0000000000..66acaa49a7 --- /dev/null +++ b/meta/conf/local.conf.sample | |||
@@ -0,0 +1,151 @@ | |||
1 | # CONF_VERSION is increased each time build/conf/ changes incompatibly | ||
2 | CONF_VERSION = "1" | ||
3 | |||
4 | # Uncomment and change to cache the files Poky downloads in an alternative | ||
5 | # location, default it ${TOPDIR}/sources | ||
6 | #DL_DIR ?= "${TOPDIR}/sources" | ||
7 | # Uncomment and change to cache Poky's built staging output in an alternative | ||
8 | # location, default ${TOPDIR}/pstage | ||
9 | #PSTAGE_DIR ?= "${TOPDIR}/pstage" | ||
10 | |||
11 | # Uncomment and set to allow bitbake to execute multiple tasks at once. | ||
12 | # For a quadcore, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would | ||
13 | # be appropriate. | ||
14 | # BB_NUMBER_THREADS = "4" | ||
15 | # Also, make can be passed flags so it run parallel threads e.g.: | ||
16 | # PARALLEL_MAKE = "-j 4" | ||
17 | |||
18 | # The machine to target | ||
19 | MACHINE ?= "qemux86" | ||
20 | |||
21 | # Other supported machines | ||
22 | #MACHINE ?= "qemuarm" | ||
23 | #MACHINE ?= "netbook" | ||
24 | #MACHINE ?= "c7x0" | ||
25 | #MACHINE ?= "akita" | ||
26 | #MACHINE ?= "spitz" | ||
27 | #MACHINE ?= "nokia770" | ||
28 | #MACHINE ?= "nokia800" | ||
29 | #MACHINE ?= "fic-gta01" | ||
30 | #MACHINE ?= "bootcdx86" | ||
31 | #MACHINE ?= "cm-x270" | ||
32 | #MACHINE ?= "em-x270" | ||
33 | #MACHINE ?= "htcuniversal" | ||
34 | #MACHINE ?= "mx31ads" | ||
35 | #MACHINE ?= "mx31litekit" | ||
36 | #MACHINE ?= "mx31phy" | ||
37 | #MACHINE ?= "zylonite" | ||
38 | #MACHINE ?= "igep0020" | ||
39 | #MACHINE ?= "igep0030" | ||
40 | |||
41 | DISTRO ?= "poky" | ||
42 | # For bleeding edge / experimental / unstable package versions | ||
43 | # DISTRO ?= "poky-bleeding" | ||
44 | |||
45 | BBMASK = "" | ||
46 | |||
47 | # EXTRA_IMAGE_FEATURES allows extra packages to be added to the generated images | ||
48 | # (Some of these are automatically added to certain image types) | ||
49 | # "dbg-pkgs" - add -dbg packages for all installed packages | ||
50 | # (adds symbol information for debugging/profiling) | ||
51 | # "dev-pkgs" - add -dev packages for all installed packages | ||
52 | # (useful if you want to develop against libs in the image) | ||
53 | # "tools-sdk" - add development tools (gcc, make, pkgconfig etc.) | ||
54 | # "tools-debug" - add debugging tools (gdb, strace) | ||
55 | # "tools-profile" - add profiling tools (oprofile, exmap, lttng valgrind (x86 only)) | ||
56 | # "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.) | ||
57 | # "debug-tweaks" - make an image for suitable of development | ||
58 | # e.g. ssh root access has a blank password | ||
59 | # There are other application targets too, see meta/classes/poky-image.bbclass | ||
60 | # and meta/packages/tasks/task-poky.bb for more details. | ||
61 | |||
62 | EXTRA_IMAGE_FEATURES = "tools-debug tools-profile tools-testapps debug-tweaks" | ||
63 | |||
64 | # The default IMAGE_FEATURES above are too large for the mx31phy and | ||
65 | # c700/c750 machines which have limited space. The code below limits | ||
66 | # the default features for those machines. | ||
67 | EXTRA_IMAGE_FEATURES_c7x0 = "tools-testapps debug-tweaks" | ||
68 | EXTRA_IMAGE_FEATURES_mx31phy = "debug-tweaks" | ||
69 | EXTRA_IMAGE_FEATURES_mx31ads = "tools-testapps debug-tweaks" | ||
70 | |||
71 | # A list of packaging systems used in generated images | ||
72 | # The first package type listed will be used for rootfs generation | ||
73 | # include 'package_deb' for debs | ||
74 | # include 'package_ipk' for ipks | ||
75 | #PACKAGE_CLASSES ?= "package_deb package_ipk" | ||
76 | PACKAGE_CLASSES ?= "package_ipk" | ||
77 | |||
78 | # A list of additional classes to use when building the system | ||
79 | # include 'image-prelink' in order to prelink the filesystem image | ||
80 | USER_CLASSES ?= "image-prelink" | ||
81 | |||
82 | # POKYMODE controls the characteristics of the generated packages/images by | ||
83 | # telling poky which type of toolchain to use. | ||
84 | # | ||
85 | # Options include several different EABI combinations and a compatibility | ||
86 | # mode for the OABI mode poky previously used. | ||
87 | # | ||
88 | # The default is "eabi" | ||
89 | # Use "oabi" for machines with kernels < 2.6.18 on ARM for example. | ||
90 | # Use "external-MODE" to use the precompiled external toolchains where MODE | ||
91 | # is the type of external toolchain to use e.g. eabi. | ||
92 | # POKYMODE = "external-eabi" | ||
93 | |||
94 | # Uncomment this to specify where BitBake should create its temporary files. | ||
95 | # Note that a full build of everything in OpenEmbedded will take GigaBytes of hard | ||
96 | # disk space, so make sure to free enough space. The default TMPDIR is | ||
97 | # <build directory>/tmp | ||
98 | #TMPDIR = "${POKYBASE}/build/tmp" | ||
99 | |||
100 | |||
101 | # Uncomment this if you are using the Openedhand provided qemu deb - see README | ||
102 | # ASSUME_PROVIDED += "qemu-native" | ||
103 | |||
104 | # Comment this out if you don't have a 3.x gcc version available and wish | ||
105 | # poky to build one for you. The 3.x gcc is required to build qemu-native. | ||
106 | # ASSUME_PROVIDED += "gcc3-native" | ||
107 | |||
108 | # Uncomment these two if you want BitBake to build images useful for debugging. | ||
109 | # DEBUG_BUILD = "1" | ||
110 | # INHIBIT_PACKAGE_STRIP = "1" | ||
111 | |||
112 | # Uncomment these to build a package such that you can use gprof to profile it. | ||
113 | # NOTE: This will only work with 'linux' targets, not | ||
114 | # 'linux-uclibc', as uClibc doesn't provide the necessary | ||
115 | # object files. Also, don't build glibc itself with these | ||
116 | # flags, or it'll fail to build. | ||
117 | # | ||
118 | # PROFILE_OPTIMIZATION = "-pg" | ||
119 | # SELECTED_OPTIMIZATION = "${PROFILE_OPTIMIZATION}" | ||
120 | # LDFLAGS =+ "-pg" | ||
121 | |||
122 | # Uncomment this if you want BitBake to emit debugging output | ||
123 | # BBDEBUG = "yes" | ||
124 | # Uncomment this if you want BitBake to emit the log if a build fails. | ||
125 | BBINCLUDELOGS = "yes" | ||
126 | |||
127 | # Set this if you wish to make pkgconfig libraries from your system available | ||
128 | # for native builds. Combined with extra ASSUME_PROVIDEDs this can allow | ||
129 | # native builds of applications like oprofileui-native (unsupported feature). | ||
130 | #EXTRA_NATIVE_PKGCONFIG_PATH = ":/usr/lib/pkgconfig" | ||
131 | #ASSUME_PROVIDED += "gtk+-native libglade-native" | ||
132 | |||
133 | ENABLE_BINARY_LOCALE_GENERATION = "1" | ||
134 | |||
135 | # The architecture to build SDK items for, by setting this you can build SDK | ||
136 | # packages for architectures other than the host i.e. building i586 packages | ||
137 | # on an x86_64 host. | ||
138 | # Supported values are i586 and x86_64 | ||
139 | #SDKMACHINE ?= "i586" | ||
140 | |||
141 | # Poky can try and fetch packaged-staging packages from a http, https or ftp | ||
142 | # mirror. Set this variable to the root of a pstage directory on a server. | ||
143 | #PSTAGE_MIRROR ?= "http://someserver.tld/share/pstage" | ||
144 | |||
145 | # Set IMAGETEST to qemu if you want to build testcases and start | ||
146 | # testing in qemu after do_rootfs. | ||
147 | #IMAGETEST = "qemu" | ||
148 | |||
149 | # By default testing will run the sanitytest suite. If you want to run other tests | ||
150 | # (e.g. bat), list them here | ||
151 | #TEST_SCEN = "sanitytest bat" | ||
diff --git a/meta/conf/site.conf.sample b/meta/conf/site.conf.sample new file mode 100644 index 0000000000..42042042f7 --- /dev/null +++ b/meta/conf/site.conf.sample | |||
@@ -0,0 +1,40 @@ | |||
1 | # | ||
2 | # local.conf covers user settings, site.conf covers site specific information | ||
3 | # such as proxy server addresses and optionally any shared download location | ||
4 | # | ||
5 | # SITE_CONF_VERSION is increased each time build/conf/site.conf | ||
6 | # changes incompatibly | ||
7 | SCONF_VERSION = "1" | ||
8 | |||
9 | # Uncomment to cause CVS to use the proxy host specified | ||
10 | #CVS_PROXY_HOST = "proxy.example.com" | ||
11 | #CVS_PROXY_PORT = "81" | ||
12 | |||
13 | # For svn, you need to create ~/.subversion/servers containing: | ||
14 | #[global] | ||
15 | #http-proxy-host = proxy.example.com | ||
16 | #http-proxy-port = 81 | ||
17 | # | ||
18 | |||
19 | # Uncomment to cause git to use the proxy host specificed | ||
20 | # although this only works for http | ||
21 | #GIT_PROXY_HOST = "proxy.example.com" | ||
22 | #GIT_PROXY_PORT = "81" | ||
23 | #export GIT_PROXY_COMMAND = "${POKYBASE}/scripts/poky-git-proxy-command" | ||
24 | |||
25 | # GIT_PROXY_IGNORE_* lines define hosts which do not require a proxy to access | ||
26 | #GIT_CORE_CONFIG = "Yes" | ||
27 | #GIT_PROXY_IGNORE_1 = "host.server.com" | ||
28 | #GIT_PROXY_IGNORE_2 = "another.server.com" | ||
29 | |||
30 | # If SOCKS is available run the following command to comple a simple transport | ||
31 | # gcc scripts/poky-git-proxy-socks.c -o poky-git-proxy-socks | ||
32 | # and then share that binary somewhere in PATH, then use the following settings | ||
33 | #GIT_PROXY_HOST = "proxy.example.com" | ||
34 | #GIT_PROXY_PORT = "81" | ||
35 | #export GIT_PROXY_COMMAND = "${POKYBASE}/scripts/poky-git-proxy-socks-command" | ||
36 | |||
37 | |||
38 | # Uncomment this to use a shared download directory | ||
39 | #DL_DIR = "/some/shared/download/directory/" | ||
40 | |||