summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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}