diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-19 13:37:11 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-19 13:37:11 +0000 |
commit | 43bee8b7357fc3d003fe021035e55f83be0c11bd (patch) | |
tree | 7b12c977cca23d9f6bbd0240606051c216d47b11 | |
parent | 40a88a10635a5d7c32914218cb6142ec9bbd478f (diff) | |
download | poky-43bee8b7357fc3d003fe021035e55f83be0c11bd.tar.gz |
Disable packaged-staging for cross-linkage/staging-linkage and external-poky-toolchain
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | meta/classes/packaged-staging.bbclass | 3 | ||||
-rw-r--r-- | meta/packages/meta/cross-linkage_1.0.bb | 2 | ||||
-rw-r--r-- | meta/packages/meta/external-poky-toolchain.bb | 2 | ||||
-rw-r--r-- | meta/packages/meta/staging-linkage_1.0.bb | 2 |
4 files changed, 9 insertions, 0 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass index 8bbbc0cb13..9a20761ff3 100644 --- a/meta/classes/packaged-staging.bbclass +++ b/meta/classes/packaged-staging.bbclass | |||
@@ -48,6 +48,9 @@ python () { | |||
48 | if bb.data.inherits_class('image', d): | 48 | if bb.data.inherits_class('image', d): |
49 | pstage_allowed = False | 49 | pstage_allowed = False |
50 | 50 | ||
51 | if bb.data.getVar('PSTAGING_DISABLED', d, True) == "1": | ||
52 | pstage_allowed = False | ||
53 | |||
51 | # Add task dependencies if we're active, otherwise mark packaged staging | 54 | # Add task dependencies if we're active, otherwise mark packaged staging |
52 | # as inactive. | 55 | # as inactive. |
53 | if pstage_allowed: | 56 | if pstage_allowed: |
diff --git a/meta/packages/meta/cross-linkage_1.0.bb b/meta/packages/meta/cross-linkage_1.0.bb index b20dc1d6d5..9e6ac4ad0a 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 () { | |||
16 | : | 16 | : |
17 | } | 17 | } |
18 | 18 | ||
19 | PSTAGING_DISABLED = "1" | ||
20 | |||
19 | do_install() { | 21 | do_install() { |
20 | install -d ${CROSS_DIR}/${TARGET_SYS}/ | 22 | install -d ${CROSS_DIR}/${TARGET_SYS}/ |
21 | if [ -e ${CROSS_DIR}/${TARGET_SYS}/include ]; then | 23 | 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 77b5a2805a..081eff6ad8 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-*" | |||
14 | INHIBIT_DEFAULT_DEPS = "1" | 14 | INHIBIT_DEFAULT_DEPS = "1" |
15 | PR = "r1" | 15 | PR = "r1" |
16 | 16 | ||
17 | PSTAGING_DISABLED = "1" | ||
18 | |||
17 | do_install() { | 19 | do_install() { |
18 | if [ ! -e ${prefix}/environment-setup ]; then | 20 | if [ ! -e ${prefix}/environment-setup ]; then |
19 | echo "The Poky toolchain could not be found in ${prefix}!" | 21 | 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 4084e4c63c..9ecc0d5af1 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 () { | |||
16 | : | 16 | : |
17 | } | 17 | } |
18 | 18 | ||
19 | PSTAGING_DISABLED = "1" | ||
20 | |||
19 | do_install () { | 21 | do_install () { |
20 | if [ -e ${STAGING_DIR_HOST}${base_libdir} ]; then | 22 | if [ -e ${STAGING_DIR_HOST}${base_libdir} ]; then |
21 | cp -pPRr ${STAGING_DIR_HOST}${base_libdir}/* ${STAGING_LIBDIR} | 23 | cp -pPRr ${STAGING_DIR_HOST}${base_libdir}/* ${STAGING_LIBDIR} |