mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
packaged-staging: tweak previous fix to accomodate possible changes to CROSS_DIR
This change, suggested by Chris Larson, ensures that the fix works even if the definition of CROSS_DIR changes. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -321,9 +321,7 @@ packagedstaging_fastpath () {
|
||||
mkdir -p ${PSTAGE_TMPDIR_STAGE}/sysroots/
|
||||
mkdir -p ${PSTAGE_TMPDIR_STAGE}/cross/
|
||||
cp -fpPR ${SYSROOT_DESTDIR}/${STAGING_DIR}/* ${PSTAGE_TMPDIR_STAGE}/sysroots/ || /bin/true
|
||||
# CROSS_DIR is just the HOST_ARCH specific stuff and a sub
|
||||
# directory of cross so copy it *and* its contents
|
||||
cp -fpPR ${SYSROOT_DESTDIR}/${CROSS_DIR} ${PSTAGE_TMPDIR_STAGE}/cross/ || /bin/true
|
||||
cp -fpPR ${SYSROOT_DESTDIR}/${CROSS_DIR}/* ${PSTAGE_TMPDIR_STAGE}/cross/${BASE_PACKAGE_ARCH}/ || /bin/true
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user