]> code.ossystems Code Review - openembedded-core.git/commitdiff
Make sure that the directory for CONFIGURESTAMPFILE exists
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 29 Jan 2016 15:04:30 +0000 (17:04 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 31 Jan 2016 13:29:37 +0000 (13:29 +0000)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/autotools.bbclass
meta/classes/base.bbclass

index 826762d402daf4b6e9a8de44906bc4e52dfcf841..abbc782549c038a7901c56f6a53cf1175c571df7 100644 (file)
@@ -122,6 +122,7 @@ autotools_preconfigure() {
 
 autotools_postconfigure(){
        if [ -n "${CONFIGURESTAMPFILE}" ]; then
+               mkdir -p `dirname ${CONFIGURESTAMPFILE}`
                echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE}
        fi
 }
index dad198f1d9b20d03e61ec4cd3f22653311422139..d68ffbe848d274e5346044b63e816cbc0dbc97e5 100644 (file)
@@ -292,6 +292,7 @@ base_do_configure() {
                fi
        fi
        if [ -n "${CONFIGURESTAMPFILE}" ]; then
+               mkdir -p `dirname ${CONFIGURESTAMPFILE}`
                echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE}
        fi
 }