summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-19 13:37:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-19 13:37:11 +0000
commit43bee8b7357fc3d003fe021035e55f83be0c11bd (patch)
tree7b12c977cca23d9f6bbd0240606051c216d47b11 /meta
parent40a88a10635a5d7c32914218cb6142ec9bbd478f (diff)
downloadopenembedded-core-43bee8b7357fc3d003fe021035e55f83be0c11bd.tar.gz
openembedded-core-43bee8b7357fc3d003fe021035e55f83be0c11bd.tar.bz2
openembedded-core-43bee8b7357fc3d003fe021035e55f83be0c11bd.tar.xz
openembedded-core-43bee8b7357fc3d003fe021035e55f83be0c11bd.zip
Disable packaged-staging for cross-linkage/staging-linkage and external-poky-toolchain
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/packaged-staging.bbclass3
-rw-r--r--meta/packages/meta/cross-linkage_1.0.bb2
-rw-r--r--meta/packages/meta/external-poky-toolchain.bb2
-rw-r--r--meta/packages/meta/staging-linkage_1.0.bb2
4 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index 8bbbc0cb1..9a20761ff 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -48,6 +48,9 @@ python () {
if bb.data.inherits_class('image', d):
pstage_allowed = False
+ if bb.data.getVar('PSTAGING_DISABLED', d, True) == "1":
+ pstage_allowed = False
+
# Add task dependencies if we're active, otherwise mark packaged staging
# as inactive.
if pstage_allowed:
diff --git a/meta/packages/meta/cross-linkage_1.0.bb b/meta/packages/meta/cross-linkage_1.0.bb
index b20dc1d6d..9e6ac4ad0 100644
--- a/meta/packages/meta/cross-linkage_1.0.bb
+++ b/meta/packages/meta/cross-linkage_1.0.bb
@@ -16,6 +16,8 @@ do_compile () {
:
}
+PSTAGING_DISABLED = "1"
+
do_install() {
install -d ${CROSS_DIR}/${TARGET_SYS}/
if [ -e ${CROSS_DIR}/${TARGET_SYS}/include ]; then
diff --git a/meta/packages/meta/external-poky-toolchain.bb b/meta/packages/meta/external-poky-toolchain.bb
index 77b5a2805..081eff6ad 100644
--- a/meta/packages/meta/external-poky-toolchain.bb
+++ b/meta/packages/meta/external-poky-toolchain.bb
@@ -14,6 +14,8 @@ PACKAGES_DYNAMIC = "glibc-gconv-*"
INHIBIT_DEFAULT_DEPS = "1"
PR = "r1"
+PSTAGING_DISABLED = "1"
+
do_install() {
if [ ! -e ${prefix}/environment-setup ]; then
echo "The Poky toolchain could not be found in ${prefix}!"
diff --git a/meta/packages/meta/staging-linkage_1.0.bb b/meta/packages/meta/staging-linkage_1.0.bb
index 4084e4c63..9ecc0d5af 100644
--- a/meta/packages/meta/staging-linkage_1.0.bb
+++ b/meta/packages/meta/staging-linkage_1.0.bb
@@ -16,6 +16,8 @@ do_compile () {
:
}
+PSTAGING_DISABLED = "1"
+
do_install () {
if [ -e ${STAGING_DIR_HOST}${base_libdir} ]; then
cp -pPRr ${STAGING_DIR_HOST}${base_libdir}/* ${STAGING_LIBDIR}