[oe-commits] Robert Yang : mtools: fix and enable parallel build
git at git.openembedded.org
git at git.openembedded.org
Sat Feb 14 22:27:37 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 4ec82250945bc8e2f3e8d246bcba2cfede933773
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4ec82250945bc8e2f3e8d246bcba2cfede933773
Author: Robert Yang <liezhi.yang at windriver.com>
Date: Thu Jan 29 17:33:35 2015 -0800
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
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
meta/recipes-devtools/mtools/mtools_3.9.9.bb | 8 ++++++--
meta/recipes-devtools/mtools/mtools_4.0.18.bb | 8 ++++++--
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 f6dd336..9cd1c57 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
EXTRA_OECONF = "--without-x"
-PARALLEL_MAKEINST = ""
-
BBCLASSEXTEND = "native nativesdk"
+
+do_install_prepend () {
+ # Create bindir to fix parallel installation issues
+ mkdir -p ${D}/${bindir}
+ mkdir -p ${D}/${datadir}
+}
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb
index 6c71f0a..b2cfe9a 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
EXTRA_OECONF = "--without-x"
-PARALLEL_MAKEINST = ""
-
BBCLASSEXTEND = "native nativesdk"
+
+do_install_prepend () {
+ # Create bindir to fix parallel installation issues
+ mkdir -p ${D}/${bindir}
+ mkdir -p ${D}/${datadir}
+}
More information about the Openembedded-commits
mailing list