1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

Disable packaged-staging for cross-linkage/staging-linkage and external-poky-toolchain

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie
2009-11-19 13:37:11 +00:00
parent 40a88a1063
commit 43bee8b735
4 changed files with 9 additions and 0 deletions
+3
View File
@@ -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:
+2
View File
@@ -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
@@ -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}!"
@@ -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}