mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
autotools.bbclass: Fix autostaging function to correctly handle cases where only subdirectories of files exist
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3517 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -170,7 +170,7 @@ autotools_stage_all() {
|
|||||||
mkdir -p ${STAGE_TEMP}
|
mkdir -p ${STAGE_TEMP}
|
||||||
oe_runmake DESTDIR="${STAGE_TEMP}" install
|
oe_runmake DESTDIR="${STAGE_TEMP}" install
|
||||||
if [ -d ${STAGE_TEMP}/${includedir} ]; then
|
if [ -d ${STAGE_TEMP}/${includedir} ]; then
|
||||||
cp -fpPR ${STAGE_TEMP}/${includedir}/* ${STAGING_INCDIR}
|
cp -fpPR ${STAGE_TEMP}/${includedir}/ ${STAGING_INCDIR}
|
||||||
fi
|
fi
|
||||||
if [ -d ${STAGE_TEMP}/${libdir} ]
|
if [ -d ${STAGE_TEMP}/${libdir} ]
|
||||||
then
|
then
|
||||||
|
|||||||
Reference in New Issue
Block a user