summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-03-23 21:56:21 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-03-23 21:56:21 +0000
commit9ce619897cc3a4551e03ad268812475a32f76fb2 (patch)
tree00f3255934535b9e6ea5bd972b644d64f93d5827
parentae04c7f11df7a48b371238a6ea96b2dadb5386ca (diff)
downloadopenembedded-core-9ce619897cc3a4551e03ad268812475a32f76fb2.tar.gz
openembedded-core-9ce619897cc3a4551e03ad268812475a32f76fb2.tar.bz2
openembedded-core-9ce619897cc3a4551e03ad268812475a32f76fb2.tar.xz
openembedded-core-9ce619897cc3a4551e03ad268812475a32f76fb2.zip
packaged-staging.bbclass: Fix mkdir to actually create the destination directory
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/packaged-staging.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index 7e7c648ad..865127a53 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -13,7 +13,7 @@
#
PSTAGE_PKGVERSION = "${PV}-${PR}"
PSTAGE_PKGARCH = "${BUILD_SYS}"
-PSTAGE_EXTRAPATH ?= ""
+PSTAGE_EXTRAPAcTH ?= ""
PSTAGE_PKGPATH = "${DISTRO}/${OELAYOUT_ABI}${PSTAGE_EXTRAPATH}"
PSTAGE_PKGPN = "${@bb.data.expand('staging-${PN}-${MULTIMACH_ARCH}${TARGET_VENDOR}-${TARGET_OS}', d).replace('_', '-')}"
PSTAGE_PKGNAME = "${PSTAGE_PKGPN}_${PSTAGE_PKGVERSION}_${PSTAGE_PKGARCH}.ipk"
@@ -319,7 +319,7 @@ populate_sysroot_postamble () {
packagedstaging_fastpath () {
if [ "$PSTAGING_ACTIVE" = "1" ]; then
mkdir -p ${PSTAGE_TMPDIR_STAGE}/sysroots/
- mkdir -p ${PSTAGE_TMPDIR_STAGE}/cross/
+ mkdir -p ${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}/
cp -fpPR ${SYSROOT_DESTDIR}/${STAGING_DIR}/* ${PSTAGE_TMPDIR_STAGE}/sysroots/ || /bin/true
cp -fpPR ${SYSROOT_DESTDIR}/${CROSS_DIR}/* ${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}/ || /bin/true
fi