summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2010-09-30 15:04:31 -0500
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-01 16:32:33 +0100
commitc112368e6f4760f07a1fa61f3fc482c00556bbdb (patch)
tree46fceba74bf865a4fa582c909890307e40ea83f0
parent4a193307092267547386a6c0801c0ccd65e88c39 (diff)
downloadpoky-c112368e6f4760f07a1fa61f3fc482c00556bbdb.tar.gz
siteconfig: Fix mkdir
[BUGID #379] In a strange configuration, siteconfig could have already generated it's directory, but decided it needs to regenerate the site config. The lack of -p in the mkdir causes a failure. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r--meta/classes/siteconfig.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/siteconfig.bbclass b/meta/classes/siteconfig.bbclass
index 2694f65de2..37d910e1da 100644
--- a/meta/classes/siteconfig.bbclass
+++ b/meta/classes/siteconfig.bbclass
@@ -11,7 +11,7 @@ python siteconfig_do_siteconfig () {
11} 11}
12 12
13siteconfig_do_siteconfig_gencache () { 13siteconfig_do_siteconfig_gencache () {
14 mkdir ${WORKDIR}/site_config 14 mkdir -p ${WORKDIR}/site_config
15 gen-site-config ${FILE_DIRNAME}/site_config \ 15 gen-site-config ${FILE_DIRNAME}/site_config \
16 >${WORKDIR}/site_config/configure.ac 16 >${WORKDIR}/site_config/configure.ac
17 cd ${WORKDIR}/site_config 17 cd ${WORKDIR}/site_config