diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-29 17:33:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-14 22:26:10 +0000 |
commit | 4ec82250945bc8e2f3e8d246bcba2cfede933773 (patch) | |
tree | 259c83a2edeb342da29c7a336ce393465352045c /meta/recipes-devtools/mtools | |
parent | 5ede7b9d3132801b9af76efb8612826af16d82f9 (diff) | |
download | openembedded-core-4ec82250945bc8e2f3e8d246bcba2cfede933773.tar.gz openembedded-core-4ec82250945bc8e2f3e8d246bcba2cfede933773.tar.bz2 openembedded-core-4ec82250945bc8e2f3e8d246bcba2cfede933773.zip |
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@windriver.com>
Diffstat (limited to 'meta/recipes-devtools/mtools')
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_3.9.9.bb | 8 | ||||
-rw-r--r-- | 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 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 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 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 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} +} |