summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-01-18 22:46:48 +0000
committerRichard Purdie <richard@openedhand.com>2008-01-18 22:46:48 +0000
commit027c071fc5fbaed003d17e1d385008a5b70ee3eb (patch)
tree395f9e830c0c4cf4a75666cfc8bb53c566a354f1 /meta/classes
parentac5c1a6e5151352b875e555152b1e0df23cca155 (diff)
downloadopenembedded-core-027c071fc5fbaed003d17e1d385008a5b70ee3eb.tar.gz
openembedded-core-027c071fc5fbaed003d17e1d385008a5b70ee3eb.tar.bz2
openembedded-core-027c071fc5fbaed003d17e1d385008a5b70ee3eb.zip
autotools.bbclass: Make sure STAGING_INCDIR exists
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3553 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/autotools.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass
index 9f02425151..07b8735c2e 100644
--- a/meta/classes/autotools.bbclass
+++ b/meta/classes/autotools.bbclass
@@ -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} ]