aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/siteconfig.bbclass
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 /meta/classes/siteconfig.bbclass
parent4a193307092267547386a6c0801c0ccd65e88c39 (diff)
downloadopenembedded-core-contrib-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>
Diffstat (limited to 'meta/classes/siteconfig.bbclass')
-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 2694f65de29..37d910e1da4 100644
--- a/meta/classes/siteconfig.bbclass
+++ b/meta/classes/siteconfig.bbclass
@@ -11,7 +11,7 @@ python siteconfig_do_siteconfig () {
}
siteconfig_do_siteconfig_gencache () {
- mkdir ${WORKDIR}/site_config
+ mkdir -p ${WORKDIR}/site_config
gen-site-config ${FILE_DIRNAME}/site_config \
>${WORKDIR}/site_config/configure.ac
cd ${WORKDIR}/site_config