summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-01-29 17:33:35 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-15 21:58:26 +0000
commit5f5d0d872e83ddf5be27d42eb24fb82800463606 (patch)
treeb10a09977ebc7c5b8366e5d9540b98c0d461a5cd
parent208c9d39d736d5a1ae6072b7597706d91478e7b9 (diff)
downloadpoky-5f5d0d872e83ddf5be27d42eb24fb82800463606.tar.gz
mtools: fix and enable parallel build
Fixed do_install error: mkdir: cannot create directory `/path/to/image/usr': File exists mkdir: cannot create directory `/path/to/image/usr/share': File exists (From OE-Core rev: 4ec82250945bc8e2f3e8d246bcba2cfede933773) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/mtools/mtools_3.9.9.bb8
-rw-r--r--meta/recipes-devtools/mtools/mtools_4.0.18.bb8
2 files changed, 12 insertions, 4 deletions
diff --git a/meta/recipes-devtools/mtools/mtools_3.9.9.bb b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
index f6dd3361c9..9cd1c5726c 100644
--- a/meta/recipes-devtools/mtools/mtools_3.9.9.bb
+++ b/meta/recipes-devtools/mtools/mtools_3.9.9.bb
@@ -44,6 +44,10 @@ inherit autotools texinfo
44 44
45EXTRA_OECONF = "--without-x" 45EXTRA_OECONF = "--without-x"
46 46
47PARALLEL_MAKEINST = ""
48
49BBCLASSEXTEND = "native nativesdk" 47BBCLASSEXTEND = "native nativesdk"
48
49do_install_prepend () {
50 # Create bindir to fix parallel installation issues
51 mkdir -p ${D}/${bindir}
52 mkdir -p ${D}/${datadir}
53}
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
index 6c71f0ab1f..b2cfe9ad9a 100644
--- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb
+++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
@@ -35,6 +35,10 @@ inherit autotools texinfo
35 35
36EXTRA_OECONF = "--without-x" 36EXTRA_OECONF = "--without-x"
37 37
38PARALLEL_MAKEINST = ""
39
40BBCLASSEXTEND = "native nativesdk" 38BBCLASSEXTEND = "native nativesdk"
39
40do_install_prepend () {
41 # Create bindir to fix parallel installation issues
42 mkdir -p ${D}/${bindir}
43 mkdir -p ${D}/${datadir}
44}