summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-10-29 14:55:48 +0000
committerRichard Purdie <richard@openedhand.com>2007-10-29 14:55:48 +0000
commit2718b2aecd959d2b845b673ee1ddd99f0da152c2 (patch)
tree4b10a9749e8a92499e15382bafa577ef123fb6c1 /meta/conf
parent70abc059ebae6bd18399c0361d348f415a3f631a (diff)
downloadpoky-2718b2aecd959d2b845b673ee1ddd99f0da152c2.tar.gz
bitbake.conf: Start cleaning up staging variables
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3015 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/bitbake.conf54
1 files changed, 31 insertions, 23 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 840d88c58f..4292395bf6 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -167,18 +167,26 @@ S = "${WORKDIR}/${P}"
167B = "${S}" 167B = "${S}"
168 168
169STAGING_DIR = "${TMPDIR}/staging" 169STAGING_DIR = "${TMPDIR}/staging"
170STAGING_BINDIR = "${STAGING_DIR}/${HOST_SYS}/bin" 170
171STAGING_BINDIR_CROSS = "${STAGING_DIR}/${BUILD_SYS}/bin/${HOST_SYS}" 171STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}"
172STAGING_BINDIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}/bin" 172STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}/bin"
173STAGING_LIBDIR = "${STAGING_DIR}/${HOST_SYS}/lib" 173STAGING_BINDIR_CROSS = "${STAGING_DIR_NATIVE}/bin/${HOST_SYS}"
174STAGING_LIBDIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}/lib" 174STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}/lib"
175STAGING_ETCDIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}/etc" 175STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}/include"
176STAGING_INCDIR = "${STAGING_DIR}/${HOST_SYS}/include" 176STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}/etc"
177STAGING_DATADIR = "${STAGING_DIR}/${HOST_SYS}/share" 177STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}/share"
178STAGING_LOADER_DIR = "${STAGING_DIR}/${HOST_SYS}/loader" 178
179STAGING_FIRMWARE_DIR = "${STAGING_DIR}/${HOST_SYS}/firmware" 179STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_SYS}"
180STAGING_BINDIR = "${STAGING_DIR_HOST}/bin"
181STAGING_LIBDIR = "${STAGING_DIR_HOST}/lib"
182STAGING_INCDIR = "${STAGING_DIR_HOST}/include"
183STAGING_DATADIR = "${STAGING_DIR_HOST}/share"
184STAGING_LOADER_DIR = "${STAGING_DIR_HOST}/loader"
185STAGING_FIRMWARE_DIR = "${STAGING_DIR_HOST}/firmware"
180STAGING_PYDIR = "${STAGING_DIR}/lib/python2.4" 186STAGING_PYDIR = "${STAGING_DIR}/lib/python2.4"
181 187
188STAGING_DIR_TARGET = "${STAGING_DIR}/${TARGET_SYS}"
189
182DEPLOY_DIR = "${TMPDIR}/deploy" 190DEPLOY_DIR = "${TMPDIR}/deploy"
183DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar" 191DEPLOY_DIR_TAR = "${DEPLOY_DIR}/tar"
184DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk" 192DEPLOY_DIR_IPK = "${DEPLOY_DIR}/ipk"
@@ -197,7 +205,7 @@ SDK_PREFIX = "/usr/local/${SDK_NAME}"
197################################################################## 205##################################################################
198 206
199OLDEST_KERNEL = "2.4.0" 207OLDEST_KERNEL = "2.4.0"
200STAGING_KERNEL_DIR = "${STAGING_DIR}/${HOST_SYS}/kernel" 208STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/kernel"
201 209
202################################################################## 210##################################################################
203# Specific image creation and rootfs population info. 211# Specific image creation and rootfs population info.
@@ -290,9 +298,9 @@ PATCHRESOLVE = 'user'
290# Build flags and options. 298# Build flags and options.
291################################################################## 299##################################################################
292 300
293export BUILD_CPPFLAGS = "-isystem${STAGING_DIR}/${BUILD_SYS}/include" 301export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}"
294export CPPFLAGS = "${TARGET_CPPFLAGS}" 302export CPPFLAGS = "${TARGET_CPPFLAGS}"
295export TARGET_CPPFLAGS = "-isystem${STAGING_DIR}/${TARGET_SYS}/include" 303export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}/include"
296 304
297export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" 305export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}"
298export CFLAGS = "${TARGET_CFLAGS}" 306export CFLAGS = "${TARGET_CFLAGS}"
@@ -302,12 +310,12 @@ export BUILD_CXXFLAGS = "${BUILD_CFLAGS} -fpermissive"
302export CXXFLAGS = "${TARGET_CXXFLAGS}" 310export CXXFLAGS = "${TARGET_CXXFLAGS}"
303export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive" 311export TARGET_CXXFLAGS = "${TARGET_CFLAGS} -fpermissive"
304 312
305export BUILD_LDFLAGS = "-L${STAGING_DIR}/${BUILD_SYS}/lib \ 313export BUILD_LDFLAGS = "-L${STAGING_LIBDIR_NATIVE} \
306 -Wl,-rpath-link,${STAGING_DIR}/${BUILD_SYS}/lib \ 314 -Wl,-rpath-link,${STAGING_LIBDIR_NATIVE} \
307 -Wl,-rpath,${STAGING_DIR}/${BUILD_SYS}/lib -Wl,-O1" 315 -Wl,-rpath,${STAGING_LIBDIR_NATIVE} -Wl,-O1"
308export LDFLAGS = "${TARGET_LDFLAGS}" 316export LDFLAGS = "${TARGET_LDFLAGS}"
309export TARGET_LDFLAGS = "-L${STAGING_DIR}/${TARGET_SYS}/lib \ 317export TARGET_LDFLAGS = "-L${STAGING_DIR_TARGET}/lib \
310 -Wl,-rpath-link,${STAGING_DIR}/${TARGET_SYS}/lib \ 318 -Wl,-rpath-link,${STAGING_DIR_TARGET}/lib \
311 -Wl,-O1" 319 -Wl,-O1"
312 320
313# Which flags to leave by strip-flags() in bin/build/oebuild.sh ? 321# Which flags to leave by strip-flags() in bin/build/oebuild.sh ?
@@ -336,9 +344,9 @@ BOOTSTRAP_EXTRA_RRECOMMENDS = ""
336# Palmtop stuff. 344# Palmtop stuff.
337################################################################## 345##################################################################
338 346
339export QTDIR = "${STAGING_DIR}/${HOST_SYS}/qt2" 347export QTDIR = "${STAGING_DIR_HOST}/qt2"
340export QPEDIR = "${STAGING_DIR}/${HOST_SYS}" 348export QPEDIR = "${STAGING_DIR_HOST}"
341export OPIEDIR = "${STAGING_DIR}/${HOST_SYS}" 349export OPIEDIR = "${STAGING_DIR_HOST}"
342export palmtopdir = "${libdir}/opie" 350export palmtopdir = "${libdir}/opie"
343export palmqtdir = "${palmtopdir}" 351export palmqtdir = "${palmtopdir}"
344 352
@@ -440,8 +448,8 @@ export PKG_CONFIG_DIR = "${STAGING_LIBDIR}/pkgconfig"
440export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig" 448export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig"
441export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" 449export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
442 450
443export QMAKE_MKSPEC_PATH = "${STAGING_DIR}/${BUILD_SYS}/share/qmake" 451export QMAKE_MKSPEC_PATH = "${STAGING_DATADIR_NATIVE}/qmake"
444export STAGING_SIPDIR = "${STAGING_DIR}/${BUILD_SYS}/share/sip" 452export STAGING_SIPDIR = "${STAGING_DATADIR_NATIVE}/sip"
445export STAGING_IDLDIR = "${STAGING_DATADIR}/idl" 453export STAGING_IDLDIR = "${STAGING_DATADIR}/idl"
446 454
447# library package naming 455# library package naming