diff options
author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/conf/bitbake.conf | |
download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/conf/bitbake.conf')
-rw-r--r-- | openembedded/conf/bitbake.conf | 381 |
1 files changed, 381 insertions, 0 deletions
diff --git a/openembedded/conf/bitbake.conf b/openembedded/conf/bitbake.conf new file mode 100644 index 0000000000..04603d393d --- /dev/null +++ b/openembedded/conf/bitbake.conf | |||
@@ -0,0 +1,381 @@ | |||
1 | ################################################################## | ||
2 | # Standard target filesystem paths. | ||
3 | ################################################################## | ||
4 | |||
5 | # Path prefixes | ||
6 | export base_prefix = "" | ||
7 | export prefix = "/usr" | ||
8 | export exec_prefix = "${prefix}" | ||
9 | |||
10 | # Base paths | ||
11 | export base_bindir = "${base_prefix}/bin" | ||
12 | export base_sbindir = "${base_prefix}/sbin" | ||
13 | export base_libdir = "${base_prefix}/lib" | ||
14 | |||
15 | # Architecture independent paths | ||
16 | export datadir = "${prefix}/share" | ||
17 | export sysconfdir = "/etc" | ||
18 | export sharedstatedir = "${prefix}/com" | ||
19 | export localstatedir = "/var" | ||
20 | export infodir = "${datadir}/info" | ||
21 | export mandir = "${datadir}/man" | ||
22 | export docdir = "${datadir}/doc" | ||
23 | export servicedir = "/srv" | ||
24 | |||
25 | # Architecture dependent paths | ||
26 | export bindir = "${exec_prefix}/bin" | ||
27 | export sbindir = "${exec_prefix}/sbin" | ||
28 | export libexecdir = "${exec_prefix}/libexec" | ||
29 | export libdir = "${exec_prefix}/lib" | ||
30 | export includedir = "${exec_prefix}/include" | ||
31 | export oldincludedir = "${exec_prefix}/include" | ||
32 | |||
33 | ################################################################## | ||
34 | # Architecture-dependent build variables. | ||
35 | ################################################################## | ||
36 | |||
37 | BUILD_ARCH = "${@os.uname()[4]}" | ||
38 | BUILD_OS = "${@os.uname()[0].lower()}" | ||
39 | BUILD_VENDOR = "" | ||
40 | BUILD_SYS = "${BUILD_ARCH}${BUILD_VENDOR}-${BUILD_OS}" | ||
41 | BUILD_PREFIX = "" | ||
42 | BUILD_CC_ARCH = "" | ||
43 | |||
44 | HOST_ARCH = "${TARGET_ARCH}" | ||
45 | HOST_OS = "${TARGET_OS}" | ||
46 | HOST_VENDOR = "${TARGET_VENDOR}" | ||
47 | HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}" | ||
48 | HOST_PREFIX = "${TARGET_PREFIX}" | ||
49 | HOST_CC_ARCH = "${TARGET_CC_ARCH}" | ||
50 | |||
51 | TARGET_ARCH = "INVALID" | ||
52 | TARGET_OS = "INVALID" | ||
53 | TARGET_VENDOR = "${BUILD_VENDOR}" | ||
54 | TARGET_SYS = "${TARGET_ARCH}${TARGET_VENDOR}-${TARGET_OS}" | ||
55 | TARGET_PREFIX = "${TARGET_SYS}-" | ||
56 | TARGET_CC_ARCH = "" | ||
57 | |||
58 | PACKAGE_ARCH = "${HOST_ARCH}" | ||
59 | MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))]}" | ||
60 | |||
61 | ################################################################## | ||
62 | # Date/time variables. | ||
63 | ################################################################## | ||
64 | |||
65 | DATE := "${@time.strftime('%Y%m%d',time.gmtime())}" | ||
66 | TIME := "${@time.strftime('%H%M%S',time.gmtime())}" | ||
67 | DATETIME = "${DATE}${TIME}" | ||
68 | |||
69 | ################################################################## | ||
70 | # Package default variables. | ||
71 | ################################################################## | ||
72 | |||
73 | PN = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[0] or 'defaultpkgname'}" | ||
74 | PV = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[1] or '1.0'}" | ||
75 | PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}" | ||
76 | PF = "${PN}-${PV}-${PR}" | ||
77 | P = "${PN}-${PV}" | ||
78 | |||
79 | # Package info. | ||
80 | |||
81 | SECTION = "base" | ||
82 | PRIORITY = "optional" | ||
83 | DESCRIPTION = "Version ${PV}-${PR} of package ${PN}" | ||
84 | LICENSE = "unknown" | ||
85 | MAINTAINER = "OpenEmbedded Team <oe@handhelds.org>" | ||
86 | HOMEPAGE = "unknown" | ||
87 | |||
88 | # Package dependencies and provides. | ||
89 | |||
90 | DEPENDS = "" | ||
91 | RDEPENDS = "" | ||
92 | PROVIDES = "" | ||
93 | PROVIDES_prepend = "${P} ${PF} ${PN} " | ||
94 | RPROVIDES = "" | ||
95 | |||
96 | PACKAGES = "${PN} ${PN}-doc ${PN}-dev ${PN}-locale" | ||
97 | FILES = "" | ||
98 | FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \ | ||
99 | ${sysconfdir} ${sharedstatedir} ${localstatedir} \ | ||
100 | /bin /sbin /lib/*.so* ${datadir}/${PN} ${libdir}/${PN} \ | ||
101 | ${datadir}/pixmaps ${datadir}/applications \ | ||
102 | ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ | ||
103 | ${libdir}/bonobo/servers" | ||
104 | SECTION_${PN}-doc = "doc" | ||
105 | FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \ | ||
106 | ${datadir}/gnome/help" | ||
107 | SECTION_${PN}-dev = "devel" | ||
108 | FILES_${PN}-dev = "${includedir} ${libdir}/lib*.so ${libdir}/*.la \ | ||
109 | ${libdir}/*.a ${libdir}/*.o ${libdir}/pkgconfig \ | ||
110 | /lib/*.a /lib/*.o ${datadir}/aclocal" | ||
111 | FILES_${PN}-locale = "${datadir}/locale" | ||
112 | |||
113 | # File manifest | ||
114 | |||
115 | export MANIFEST = "${FILESDIR}/manifest" | ||
116 | |||
117 | FILE_DIRNAME = "${@os.path.dirname(bb.data.getVar('FILE', d))}" | ||
118 | FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}" | ||
119 | FILESDIR = "${@bb.which(bb.data.getVar('FILESPATH', d, 1), '.')}" | ||
120 | |||
121 | ################################################################## | ||
122 | # General work and output directories for the build system. | ||
123 | ################################################################## | ||
124 | |||
125 | TMPDIR = "${TOPDIR}/tmp" | ||
126 | CACHE = "${TMPDIR}/cache" | ||
127 | DL_DIR = "${TMPDIR}/downloads" | ||
128 | CVSDIR = "${DL_DIR}/cvs" | ||
129 | |||
130 | STAMP = "${TMPDIR}/stamps/${PF}" | ||
131 | WORKDIR = "${TMPDIR}/work/${PF}" | ||
132 | T = "${WORKDIR}/temp" | ||
133 | D = "${WORKDIR}/image" | ||
134 | S = "${WORKDIR}/${P}" | ||
135 | B = "${S}" | ||
136 | |||
137 | STAGING_DIR = "${TMPDIR}/staging" | ||
138 | STAGING_BINDIR = "${STAGING_DIR}/${BUILD_SYS}/bin" | ||
139 | STAGING_LIBDIR = "${STAGING_DIR}/${HOST_SYS}/lib" | ||
140 | STAGING_INCDIR = "${STAGING_DIR}/${HOST_SYS}/include" | ||
141 | STAGING_DATADIR = "${STAGING_DIR}/${HOST_SYS}/share" | ||
142 | STAGING_LOADER_DIR = "${STAGING_DIR}/${HOST_SYS}/loader" | ||
143 | |||
144 | DEPLOY_DIR = "${TMPDIR}/deploy" | ||
145 | DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar" | ||
146 | DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" | ||
147 | DEPLOY_DIR_RPM = "${DEPLOY_DIR}/rpm" | ||
148 | |||
149 | ################################################################## | ||
150 | # Kernel info. | ||
151 | ################################################################## | ||
152 | |||
153 | OLDEST_KERNEL = "2.4.0" | ||
154 | STAGING_KERNEL_DIR = "${STAGING_DIR}/${HOST_SYS}/kernel" | ||
155 | |||
156 | ################################################################## | ||
157 | # Specific image creation and rootfs population info. | ||
158 | ################################################################## | ||
159 | |||
160 | DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images" | ||
161 | IMAGE_ROOTFS = "${TMPDIR}/rootfs" | ||
162 | IMAGE_BASENAME = "rootfs" | ||
163 | IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-${DATETIME}" | ||
164 | IMAGE_CMD = "" | ||
165 | IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \ | ||
166 | --output=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.jffs2 \ | ||
167 | ${EXTRA_IMAGECMD}" | ||
168 | IMAGE_CMD_cramfs = "mkcramfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.cramfs ${EXTRA_IMAGECMD}" | ||
169 | IMAGE_CMD_ext2 = "genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}" | ||
170 | IMAGE_CMD_ext2.gz = "mkdir ${DEPLOY_DIR_IMAGE}/tmp.gz; genext2fs -b ${IMAGE_ROOTFS_SIZE} -d ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2 ${EXTRA_IMAGECMD}; gzip -f -9 ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2; mv ${DEPLOY_DIR_IMAGE}/tmp.gz/${IMAGE_NAME}.rootfs.ext2.gz ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext2.gz; rmdir ${DEPLOY_DIR_IMAGE}/tmp.gz" | ||
171 | IMAGE_CMD_squashfs = "mksquashfs ${IMAGE_ROOTFS} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.squashfs ${EXTRA_IMAGECMD} -noappend" | ||
172 | IMAGE_CMD_tar = "cd ${IMAGE_ROOTFS} && tar -jcvf ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.tar.bz2 ." | ||
173 | EXTRA_IMAGECMD = "" | ||
174 | EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x40000" | ||
175 | EXTRA_IMAGECMD_squashfs = "-le -b 16384" | ||
176 | IMAGE_FSTYPE = "jffs2" | ||
177 | IMAGE_FSTYPES = "${IMAGE_FSTYPE}" | ||
178 | IMAGE_ROOTFS_SIZE_ext2 = "65536" | ||
179 | IMAGE_ROOTFS_SIZE_ext2.gz = "65536" | ||
180 | |||
181 | IMAGE_DEPENDS = "" | ||
182 | IMAGE_DEPENDS_jffs2 = "mtd-utils-native" | ||
183 | IMAGE_DEPENDS_cramfs = "cramfs-native" | ||
184 | IMAGE_DEPENDS_ext2 = "genext2fs-native" | ||
185 | IMAGE_DEPENDS_ext2.gz = "genext2fs-native" | ||
186 | IMAGE_DEPENDS_squashfs = "squashfs-tools-native" | ||
187 | EXTRA_IMAGEDEPENDS = "" | ||
188 | |||
189 | ################################################################## | ||
190 | # Toolchain info. | ||
191 | ################################################################## | ||
192 | |||
193 | CROSS_DIR = "${TMPDIR}/cross" | ||
194 | CROSS_DATADIR = "${CROSS_DIR}/share" | ||
195 | export PATH_prepend = "${STAGING_BINDIR}/${HOST_SYS}:${STAGING_BINDIR}:${CROSS_DIR}/bin:" | ||
196 | |||
197 | ################################################################## | ||
198 | # Build utility info. | ||
199 | ################################################################## | ||
200 | |||
201 | CCACHE = "${@bb.which(bb.data.getVar('PATH', d), 'ccache') and 'ccache '}" | ||
202 | |||
203 | export CC = "${CCACHE}${HOST_PREFIX}gcc ${HOST_CC_ARCH}" | ||
204 | export CXX = "${CCACHE}${HOST_PREFIX}g++ ${HOST_CC_ARCH}" | ||
205 | export F77 = "${CCACHE}${HOST_PREFIX}g77 ${HOST_CC_ARCH}" | ||
206 | export CPP = "${HOST_PREFIX}gcc -E" | ||
207 | export LD = "${HOST_PREFIX}ld" | ||
208 | export CCLD = "${CC}" | ||
209 | export AR = "${HOST_PREFIX}ar" | ||
210 | export AS = "${HOST_PREFIX}as" | ||
211 | export RANLIB = "${HOST_PREFIX}ranlib" | ||
212 | export STRIP = "${HOST_PREFIX}strip" | ||
213 | |||
214 | export BUILD_CC = "${CCACHE}${BUILD_PREFIX}gcc ${BUILD_CC_ARCH}" | ||
215 | export BUILD_CXX = "${CCACHE}${BUILD_PREFIX}g++ ${BUILD_CC_ARCH}" | ||
216 | export BUILD_F77 = "${CCACHE}${BUILD_PREFIX}g77 ${BUILD_CC_ARCH}" | ||
217 | export BUILD_CPP = "${BUILD_PREFIX}cpp" | ||
218 | export BUILD_LD = "${BUILD_PREFIX}ld" | ||
219 | export BUILD_CCLD = "${BUILD_PREFIX}gcc" | ||
220 | export BUILD_AR = "${BUILD_PREFIX}ar" | ||
221 | export BUILD_RANLIB = "${BUILD_PREFIX}ranlib" | ||
222 | export BUILD_STRIP = "${BUILD_PREFIX}strip" | ||
223 | |||
224 | export MAKE = "make" | ||
225 | EXTRA_OEMAKE = "-e MAKEFLAGS=" | ||
226 | |||
227 | ################################################################## | ||
228 | # Build flags and options. | ||
229 | ################################################################## | ||
230 | |||
231 | export BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include" | ||
232 | export CPPFLAGS = "${TARGET_CPPFLAGS}" | ||
233 | export TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include" | ||
234 | |||
235 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" | ||
236 | export CFLAGS = "${TARGET_CFLAGS}" | ||
237 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | ||
238 | |||
239 | export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive" | ||
240 | export CXXFLAGS = "${TARGET_CXXFLAGS}" | ||
241 | export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" | ||
242 | |||
243 | export BUILD_LDFLAGS = "-L${STAGING_DIR}/${BUILD_SYS}/lib \ | ||
244 | -Wl,-rpath-link,${STAGING_DIR}/${BUILD_SYS}/lib \ | ||
245 | -Wl,-rpath,${STAGING_DIR}/${BUILD_SYS}/lib -Wl,-O1" | ||
246 | export LDFLAGS = "${TARGET_LDFLAGS}" | ||
247 | export TARGET_LDFLAGS = "-L${STAGING_DIR}/${TARGET_SYS}/lib \ | ||
248 | -Wl,-rpath-link,${STAGING_DIR}/${TARGET_SYS}/lib \ | ||
249 | -Wl,-O1" | ||
250 | |||
251 | # Which flags to leave by strip-flags() in bin/build/oebuild.sh ? | ||
252 | ALLOWED_FLAGS = "-O -mcpu -march -pipe" | ||
253 | |||
254 | # Pass parallel make options to the compile task only | ||
255 | EXTRA_OEMAKE_prepend_task_do_compile = "${PARALLEL_MAKE} " | ||
256 | |||
257 | ################################################################## | ||
258 | # Optimization flags. | ||
259 | ################################################################## | ||
260 | |||
261 | FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2" | ||
262 | DEBUG_OPTIMIZATION = "-O -g" | ||
263 | SELECTED_OPTIMIZATION = "${@bb.data.getVar(['FULL_OPTIMIZATION', 'DEBUG_OPTIMIZATION'][bb.data.getVar('DEBUG_BUILD', d, 1) == '1'], d, 1)}" | ||
264 | BUILD_OPTIMIZATION = "-O2" | ||
265 | |||
266 | ################################################################## | ||
267 | # Bootstrap stuff. | ||
268 | ################################################################## | ||
269 | |||
270 | BOOTSTRAP_EXTRA_DEPENDS = "" | ||
271 | BOOTSTRAP_EXTRA_RDEPENDS = "" | ||
272 | BOOTSTRAP_EXTRA_RRECOMMENDS = "" | ||
273 | |||
274 | ################################################################## | ||
275 | # Palmtop stuff. | ||
276 | ################################################################## | ||
277 | |||
278 | export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2" | ||
279 | export QPEDIR = "${STAGING_DIR}/${HOST_SYS}" | ||
280 | export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}" | ||
281 | export palmtopdir = "/opt/QtPalmtop" | ||
282 | export palmqtdir = "/opt/QtPalmtop" | ||
283 | |||
284 | ################################################################## | ||
285 | # Download locations and utilities. | ||
286 | ################################################################## | ||
287 | |||
288 | GNU_MIRROR = "ftp://ftp.gnu.org/gnu" | ||
289 | DEBIAN_MIRROR = "ftp://ftp.debian.org/debian/pool" | ||
290 | SOURCEFORGE_MIRROR = "http://heanet.dl.sourceforge.net/sourceforge" | ||
291 | GPE_MIRROR = "http://ftp.handhelds.org/pub/projects/gpe/source" | ||
292 | XLIBS_MIRROR = "http://xlibs.freedesktop.org/release" | ||
293 | GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources" | ||
294 | HANDHELDS_CVS = "cvs://anoncvs:anoncvs@cvs.handhelds.org/cvs" | ||
295 | |||
296 | # You can use the mirror of your country to get faster downloads by putting | ||
297 | # export DEBIAN_MIRROR = "ftp://ftp.de.debian.org/debian/pool" | ||
298 | # export SOURCEFORGE_MIRROR = "http://belnet.dl.sourceforge.net/sourceforge" | ||
299 | # into your local.conf | ||
300 | |||
301 | FETCHCOMMAND = "" | ||
302 | FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} ${URI}" | ||
303 | FETCHCOMMAND_cvs = "/usr/bin/env cvs -d${CVSROOT} co ${CVSCOOPTS} ${CVSMODULE}" | ||
304 | RESUMECOMMAND = "" | ||
305 | RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} ${URI}" | ||
306 | UPDATECOMMAND = "" | ||
307 | UPDATECOMMAND_cvs = "/usr/bin/env cvs update -d -P ${CVSCOOPTS}" | ||
308 | CVSDATE = "${DATE}" | ||
309 | |||
310 | SRC_URI = "file://${FILE}" | ||
311 | |||
312 | ################################################################## | ||
313 | # Miscellaneous utilities. | ||
314 | ################################################################## | ||
315 | |||
316 | MKTEMPDIRCMD = "mktemp -d -q ${TMPBASE}" | ||
317 | MKTEMPCMD = "mktemp -q ${TMPBASE}" | ||
318 | |||
319 | # Program to be used to patch sources, use 'inherit patcher' to overwrite this: | ||
320 | |||
321 | PATCHCLEANCMD = 'if [ -n "`quilt applied`" ]; then quilt pop -a -R -f || exit 1; fi' | ||
322 | PATCHCMD = "pnum='%s'; name='%s'; patch='%s'; mkdir -p patches ; quilt upgrade >/dev/null 2>&1; quilt import -f -p $pnum -n $name $patch; chmod u+w patches/$name; quilt push" | ||
323 | PATCH_DEPENDS = "quilt-native" | ||
324 | |||
325 | # GNU patch tries to be intellgent about checking out read-only files from | ||
326 | # a RCS, which freaks out those special folks with active Perforce clients | ||
327 | # the following makes patch ignore RCS: | ||
328 | |||
329 | export PATCH_GET=0 | ||
330 | |||
331 | # Program to be used to build ipkg packages | ||
332 | |||
333 | IPKGBUILDCMD = "ipkg-build -o 0 -g 0" | ||
334 | |||
335 | ################################################################## | ||
336 | # Not sure about the rest of this yet. | ||
337 | ################################################################## | ||
338 | |||
339 | # slot - currently unused by OE. portage remnants | ||
340 | SLOT = "0" | ||
341 | |||
342 | # Other | ||
343 | |||
344 | export PKG_CONFIG_PATH = "${STAGING_DATADIR}/pkgconfig" | ||
345 | export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" | ||
346 | |||
347 | export QMAKE_MKSPEC_PATH = "${STAGING_DIR}/${BUILD_SYS}/share/qmake" | ||
348 | export STAGING_SIPDIR = "${STAGING_DIR}/${BUILD_SYS}/share/sip" | ||
349 | export STAGING_IDLDIR = "${STAGING_DATADIR}/idl" | ||
350 | |||
351 | # default test results for autoconf | ||
352 | # possible candidate for moving into autotools.oeclass -CL | ||
353 | export CONFIG_SITE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'site/%s-%s' % (bb.data.getVar('HOST_ARCH', d, 1), bb.data.getVar('HOST_OS', d, 1)))}" | ||
354 | |||
355 | # library package naming | ||
356 | AUTO_LIBNAME_PKGS = "${PACKAGES}" | ||
357 | |||
358 | ### | ||
359 | ### Config file processing | ||
360 | ### | ||
361 | |||
362 | # This means that an envionment variable named '<foo>_arm' overrides an | ||
363 | # environment variable '<foo>' (when ${TARGET_ARCH} is arm). And the same: an | ||
364 | # environment variable '<foo>_ramses' overrides both '<foo>' and '<foo>_arm | ||
365 | # when ${MACHINE} is 'ramses'. And finally '<foo>_local' overrides anything. | ||
366 | # | ||
367 | # This works for functions as well, they are really just environment variables. | ||
368 | OVERRIDES = "local:${MACHINE}:${DISTRO}:${TARGET_OS}:${TARGET_ARCH}:build-${BUILD_OS}" | ||
369 | |||
370 | ################################################################## | ||
371 | # Include the rest of the config files. | ||
372 | ################################################################## | ||
373 | |||
374 | include conf/site.conf | ||
375 | include conf/auto.conf | ||
376 | include conf/local.conf | ||
377 | include conf/build/${BUILD_SYS}.conf | ||
378 | include conf/target/${TARGET_SYS}.conf | ||
379 | include conf/machine/${MACHINE}.conf | ||
380 | include conf/distro/${DISTRO}.conf | ||
381 | include conf/documentation.conf | ||