]> code.ossystems Code Review - openembedded-core.git/commitdiff
autotools.bbclass: Make sure STAGING_INCDIR exists
authorRichard Purdie <richard@openedhand.com>
Fri, 18 Jan 2008 22:46:48 +0000 (22:46 +0000)
committerRichard Purdie <richard@openedhand.com>
Fri, 18 Jan 2008 22:46:48 +0000 (22:46 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3553 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/autotools.bbclass

index 9f02425151ff55a011f9b94adbba6136a7f9d53b..07b8735c2ebd5cc658d3fd1a5dd10696a849832b 100644 (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} ]