autotools.bbclass: Make sure STAGING_INCDIR exists

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3553 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2008-01-18 22:46:48 +00:00
parent ac5c1a6e51
commit 027c071fc5

View File

@@ -170,6 +170,7 @@ autotools_stage_all() {
mkdir -p ${STAGE_TEMP}
oe_runmake DESTDIR="${STAGE_TEMP}" install
if [ -d ${STAGE_TEMP}/${includedir} ]; then
mkdir -p ${STAGING_INCDIR}
cp -fpPR -t ${STAGING_INCDIR} ${STAGE_TEMP}/${includedir}/*
fi
if [ -d ${STAGE_TEMP}/${libdir} ]