summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-01-18 16:18:42 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-25 12:25:46 +0000
commit7f41f1a8888a1f7f091101d19b9b0c4787f5a6fc (patch)
treeba2afa60ca17a84860545e0c871ffce34b57839a /meta/conf/bitbake.conf
parentb0df35f47fb79dc149504bd66d1186b3276f9510 (diff)
downloadpoky-7f41f1a8888a1f7f091101d19b9b0c4787f5a6fc.tar.gz
bitbake: machine specific sysroots implementation
This commit changes the sysroots path to be machine specific. Changes includes: 1) STAGING_DIR_TARGET and STRAGING_DIR_HOST points to machine specific paths. 2) task stamp files. Adding ${MACHINE} info into stamp files for do_populate_sysroots and do_package tasks. Add a BB_STAMPTASK_BLACKLIST to keep native, nativesdk, crosssdk, and cross-canadian stamp unchanged. 3) siteconfig path. Separate the site config path for different machines to avoid one machine adopting the cache file of another machine. 4) sstate. Add machine name to sstate manifest file. Change relocation code for sstate paths since sysroot is machine. Keep native, nativesdk, crosssdk, and cross-canadian unchanged. 5) toolchain scripts. Change the environment path to point to machine specific sysroots in toolchain scripts bbclass. 6) Relocate la files when populating to a different machine of the same architecture. 7) Exclude STAGING_DIR_TARGET and STAGING_DIR_HOST parameter from sstate siginfo since they contain ${MACHINE} information. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 1c6c7e5f12..db09c75191 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -280,7 +280,7 @@ STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}${datadir_native}"
280 280
281# This should really be MULTIMACH_HOST_SYS but that breaks "all" and machine 281# This should really be MULTIMACH_HOST_SYS but that breaks "all" and machine
282# specific packages - hack around it for now. 282# specific packages - hack around it for now.
283STAGING_DIR_HOST = "${STAGING_DIR}/${BASEPKG_HOST_SYS}" 283STAGING_DIR_HOST = "${STAGING_DIR}/${MACHINE}"
284STAGING_BINDIR = "${STAGING_DIR_HOST}${bindir}" 284STAGING_BINDIR = "${STAGING_DIR_HOST}${bindir}"
285STAGING_LIBDIR = "${STAGING_DIR_HOST}${libdir}" 285STAGING_LIBDIR = "${STAGING_DIR_HOST}${libdir}"
286STAGING_INCDIR = "${STAGING_DIR_HOST}${includedir}" 286STAGING_INCDIR = "${STAGING_DIR_HOST}${includedir}"
@@ -292,7 +292,7 @@ STAGING_PYDIR = "${STAGING_DIR}/lib/python2.4"
292 292
293# This should really be MULTIMACH_TARGET_SYS but that breaks "all" and machine 293# This should really be MULTIMACH_TARGET_SYS but that breaks "all" and machine
294# specific packages - hack around it for now. 294# specific packages - hack around it for now.
295STAGING_DIR_TARGET = "${STAGING_DIR}/${BASEPKG_TARGET_SYS}" 295STAGING_DIR_TARGET = "${STAGING_DIR}/${MACHINE}"
296STAGING_DIR_TCBOOTSTRAP = "${STAGING_DIR_TARGET}-tcbootstrap" 296STAGING_DIR_TCBOOTSTRAP = "${STAGING_DIR_TARGET}-tcbootstrap"
297 297
298# Setting DEPLOY_DIR outside of TMPDIR is helpful, when you are using 298# Setting DEPLOY_DIR outside of TMPDIR is helpful, when you are using
@@ -316,7 +316,7 @@ SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
316################################################################## 316##################################################################
317 317
318OLDEST_KERNEL = "2.4.0" 318OLDEST_KERNEL = "2.4.0"
319STAGING_KERNEL_DIR = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/kernel" 319STAGING_KERNEL_DIR = "${STAGING_DIR_HOST}/kernel"
320 320
321################################################################## 321##################################################################
322# Specific image creation and rootfs population info. 322# Specific image creation and rootfs population info.
@@ -601,10 +601,10 @@ SLOT = "0"
601 601
602# Other 602# Other
603 603
604export PKG_CONFIG_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig" 604export PKG_CONFIG_DIR = "${STAGING_DIR_HOST}/${libdir}/pkgconfig"
605export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig" 605export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig"
606export PKG_CONFIG_LIBDIR = "${PKG_CONFIG_DIR}" 606export PKG_CONFIG_LIBDIR = "${PKG_CONFIG_DIR}"
607export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${TARGET_VENDOR}-${TARGET_OS}" 607export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR_HOST}"
608export PKG_CONFIG_DISABLE_UNINSTALLED = "yes" 608export PKG_CONFIG_DISABLE_UNINSTALLED = "yes"
609 609
610export QMAKE_MKSPEC_PATH = "${STAGING_DATADIR_NATIVE}/qmake" 610export QMAKE_MKSPEC_PATH = "${STAGING_DATADIR_NATIVE}/qmake"
@@ -735,5 +735,5 @@ TRANSLATED_TARGET_ARCH ??= ${TARGET_ARCH}
735# Setup our default hash policy 735# Setup our default hash policy
736BB_SIGNATURE_HANDLER ?= "basic" 736BB_SIGNATURE_HANDLER ?= "basic"
737BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)" 737BB_HASHTASK_WHITELIST ?= "(.*-cross$|.*-native$|.*-cross-initial$|.*-cross-intermediate$|^virtual:native:.*|^virtual:nativesdk:.*)"
738BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER FILESPATH USERNAME" 738BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM USER FILESPATH USERNAME STAGING_DIR_HOST STAGING_DIR_TARGET"
739 739