summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2005-02-11 01:07:28 +0000
committerChris Larson <clarson@kergoth.com>2005-02-11 01:07:28 +0000
commit5dadbaf0cdcd910bab780161eb56aef547bd6a64 (patch)
treed05ef206800610f435583585e85a8c57dade4618 /conf
parentc617dd9c4f2a2a09ad4a1d80f2a8ca6832fd90cf (diff)
Path variable updates:
* add base_prefix, base_bindir, base_libdir, and base_sbindir, for paths that are always rooted at / (for things like /sbin/ldconfig). * Rearrange the path bits in bitbake.conf to be a bit more comprehensible. * Override more path variables in cross.bbclass and native.bbclass, so that they can safely be overridden by the user. BKrev: 420c0550HAHmBzqBNAmgZogIut9Srg
Diffstat (limited to 'conf')
-rw-r--r--conf/bitbake.conf29
1 files changed, 20 insertions, 9 deletions
diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 7c91245379..fc62c269ef 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -2,23 +2,34 @@
# Standard target filesystem paths.
##################################################################
+# Path prefixes
+export base_prefix = ""
export prefix = "/usr"
export exec_prefix = "${prefix}"
-export bindir = "${exec_prefix}/bin"
-export sbindir = "${exec_prefix}/sbin"
-export libexecdir = "${exec_prefix}/libexec"
+
+# Base paths
+export base_bindir = "${base_prefix}/bin"
+export base_sbindir = "${base_prefix}/sbin"
+export base_libdir = "${base_prefix}/lib"
+
+# Architecture independent paths
export datadir = "${prefix}/share"
export sysconfdir = "/etc"
export sharedstatedir = "${prefix}/com"
export localstatedir = "/var"
-export libdir = "${exec_prefix}/lib"
-export includedir = "${prefix}/include"
-export oldincludedir = "/usr/include"
-export infodir = "${datadir}/info"
-export mandir = "${datadir}/man"
-export docdir = "${datadir}/doc"
+export infodir = "${prefix}/info"
+export mandir = "${prefix}/man"
+export docdir = "${prefix}/doc"
export servicedir = "/srv"
+# Architecture dependent paths
+export bindir = "${exec_prefix}/bin"
+export sbindir = "${exec_prefix}/sbin"
+export libexecdir = "${exec_prefix}/libexec"
+export libdir = "${exec_prefix}/lib"
+export includedir = "${exec_prefix}/include"
+export oldincludedir = "${exec_prefix}/include"
+
##################################################################
# Architecture-dependent build variables.
##################################################################