diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2016-01-29 17:04:30 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-31 13:29:37 +0000 |
commit | bb82dc384bda48d746634ba1f4e315737993c794 (patch) | |
tree | d102b0766eb0f000d273e2bf2092a60b6de1098a /meta/classes | |
parent | 5e89a79ae7f26735e523917555251313995d01d4 (diff) | |
download | openembedded-core-bb82dc384bda48d746634ba1f4e315737993c794.tar.gz openembedded-core-bb82dc384bda48d746634ba1f4e315737993c794.tar.bz2 openembedded-core-bb82dc384bda48d746634ba1f4e315737993c794.zip |
Make sure that the directory for CONFIGURESTAMPFILE exists
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/autotools.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/base.bbclass | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 826762d402..abbc782549 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -122,6 +122,7 @@ autotools_preconfigure() { autotools_postconfigure(){ if [ -n "${CONFIGURESTAMPFILE}" ]; then + mkdir -p `dirname ${CONFIGURESTAMPFILE}` echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE} fi } diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index dad198f1d9..d68ffbe848 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -292,6 +292,7 @@ base_do_configure() { fi fi if [ -n "${CONFIGURESTAMPFILE}" ]; then + mkdir -p `dirname ${CONFIGURESTAMPFILE}` echo ${BB_TASKHASH} > ${CONFIGURESTAMPFILE} fi } |