summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf71
1 files changed, 34 insertions, 37 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8492c0d5db..523a33dd78 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -2,17 +2,14 @@
2# Standard target filesystem layout. 2# Standard target filesystem layout.
3################################################################## 3##################################################################
4 4
5# Note these currently match the existing staging layout but this
6# is planned to change, see the oe-dev mailing list
7
8# Path prefixes 5# Path prefixes
9layout_prefix = "" 6layout_prefix = "/usr"
10layout_exec_prefix = "" 7layout_exec_prefix = "/usr"
11layout_base_prefix = "" 8layout_base_prefix = ""
12 9
13# Base paths 10# Base paths
14layout_base_bindir = "${layout_base_prefix}/bin" 11layout_base_bindir = "${layout_base_prefix}/bin"
15layout_base_sbindir = "${layout_base_prefix}/bin" 12layout_base_sbindir = "${layout_base_prefix}/sbin"
16layout_base_libdir = "${layout_base_prefix}/lib" 13layout_base_libdir = "${layout_base_prefix}/lib"
17 14
18# Architecture independent paths 15# Architecture independent paths
@@ -27,7 +24,7 @@ layout_docdir = "${layout_datadir}/doc"
27 24
28# Architecture dependent paths 25# Architecture dependent paths
29layout_bindir = "${layout_exec_prefix}/bin" 26layout_bindir = "${layout_exec_prefix}/bin"
30layout_sbindir = "${layout_exec_prefix}/bin" 27layout_sbindir = "${layout_exec_prefix}/sbin"
31layout_libdir = "${layout_exec_prefix}/lib" 28layout_libdir = "${layout_exec_prefix}/lib"
32layout_includedir = "${layout_exec_prefix}/include" 29layout_includedir = "${layout_exec_prefix}/include"
33layout_libexecdir = "${layout_exec_prefix}/libexec" 30layout_libexecdir = "${layout_exec_prefix}/libexec"
@@ -38,31 +35,31 @@ layout_libexecdir = "${layout_exec_prefix}/libexec"
38 35
39# Path prefixes 36# Path prefixes
40export base_prefix = "" 37export base_prefix = ""
41export prefix = "/usr" 38export prefix = "${layout_prefix}"
42export exec_prefix = "${prefix}" 39export exec_prefix = "${layout_exec_prefix}"
43 40
44# Base paths 41# Base paths
45export base_bindir = "${base_prefix}/bin" 42export base_bindir = "${layout_base_bindir}"
46export base_sbindir = "${base_prefix}/sbin" 43export base_sbindir = "${layout_base_sbindir}"
47export base_libdir = "${base_prefix}/lib" 44export base_libdir = "${layout_base_libdir}"
48 45
49# Architecture independent paths 46# Architecture independent paths
50export datadir = "${prefix}/share" 47export datadir = "${layout_datadir}"
51export sysconfdir = "/etc" 48export sysconfdir = "${layout_sysconfdir}"
52export sharedstatedir = "${prefix}/com" 49export sharedstatedir = "${layout_sharedstatedir}"
53export localstatedir = "/var" 50export localstatedir = "${layout_localstatedir}"
54export infodir = "${datadir}/info" 51export infodir = "${layout_infodir}"
55export mandir = "${datadir}/man" 52export mandir = "${layout_mandir}"
56export docdir = "${datadir}/doc" 53export docdir = "${layout_docdir}"
57export servicedir = "/srv" 54export servicedir = "${layout_servicedir}"
58 55
59# Architecture dependent paths 56# Architecture dependent paths
60export bindir = "${exec_prefix}/bin" 57export bindir = "${layout_bindir}"
61export sbindir = "${exec_prefix}/sbin" 58export sbindir = "${layout_sbindir}"
62export libexecdir = "${exec_prefix}/libexec" 59export libexecdir = "${layout_libexecdir}"
63export libdir = "${exec_prefix}/lib" 60export libdir = "${layout_libdir}"
64export includedir = "${exec_prefix}/include" 61export includedir = "${layout_includedir}"
65export oldincludedir = "${exec_prefix}/include" 62export oldincludedir = "${layout_includedir}"
66 63
67################################################################## 64##################################################################
68# Architecture-dependent build variables. 65# Architecture-dependent build variables.
@@ -203,18 +200,18 @@ B = "${S}"
203STAGING_DIR = "${TMPDIR}/staging" 200STAGING_DIR = "${TMPDIR}/staging"
204 201
205STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}" 202STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}"
206STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}/bin" 203STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_bindir}"
207STAGING_BINDIR_CROSS = "${STAGING_DIR_NATIVE}/bin/${HOST_SYS}" 204STAGING_BINDIR_CROSS = "${STAGING_DIR_NATIVE}${layout_bindir}/${HOST_SYS}"
208STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}/lib" 205STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_libdir}"
209STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}/include" 206STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_includedir}"
210STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}/etc" 207STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_sysconfdir}"
211STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}/share" 208STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}${layout_datadir}"
212 209
213STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}" 210STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}"
214STAGING_BINDIR = "${STAGING_DIR_HOST}/bin" 211STAGING_BINDIR = "${STAGING_DIR_HOST}${layout_bindir}"
215STAGING_LIBDIR = "${STAGING_DIR_HOST}/lib" 212STAGING_LIBDIR = "${STAGING_DIR_HOST}${layout_libdir}"
216STAGING_INCDIR = "${STAGING_DIR_HOST}/include" 213STAGING_INCDIR = "${STAGING_DIR_HOST}${layout_includedir}"
217STAGING_DATADIR = "${STAGING_DIR_HOST}/share" 214STAGING_DATADIR = "${STAGING_DIR_HOST}${layout_datadir}"
218STAGING_LOADER_DIR = "${STAGING_DIR_HOST}/loader" 215STAGING_LOADER_DIR = "${STAGING_DIR_HOST}/loader"
219STAGING_FIRMWARE_DIR = "${STAGING_DIR_HOST}/firmware" 216STAGING_FIRMWARE_DIR = "${STAGING_DIR_HOST}/firmware"
220STAGING_PYDIR = "${STAGING_DIR}/lib/python2.4" 217STAGING_PYDIR = "${STAGING_DIR}/lib/python2.4"
@@ -291,7 +288,7 @@ EXTRA_IMAGEDEPENDS = ""
291 288
292CROSS_DIR = "${TMPDIR}/cross" 289CROSS_DIR = "${TMPDIR}/cross"
293CROSS_DATADIR = "${CROSS_DIR}/share" 290CROSS_DATADIR = "${CROSS_DIR}/share"
294export PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/bin:" 291export PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${layout_sbindir}:${STAGING_BINDIR_NATIVE}:${CROSS_DIR}/bin:${STAGING_DIR_NATIVE}${layout_base_sbindir}:"
295 292
296################################################################## 293##################################################################
297# Build utility info. 294# Build utility info.