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-15 21:58:26 +0000 |
commit | 5f5d0d872e83ddf5be27d42eb24fb82800463606 (patch) | |
tree | b10a09977ebc7c5b8366e5d9540b98c0d461a5cd /meta/recipes-devtools/mtools/mtools_4.0.18.bb | |
parent | 208c9d39d736d5a1ae6072b7597706d91478e7b9 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-devtools/mtools/mtools_4.0.18.bb')
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_4.0.18.bb | 8 |
1 files changed, 6 insertions, 2 deletions
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 | ||
36 | EXTRA_OECONF = "--without-x" | 36 | EXTRA_OECONF = "--without-x" |
37 | 37 | ||
38 | PARALLEL_MAKEINST = "" | ||
39 | |||
40 | BBCLASSEXTEND = "native nativesdk" | 38 | BBCLASSEXTEND = "native nativesdk" |
39 | |||
40 | do_install_prepend () { | ||
41 | # Create bindir to fix parallel installation issues | ||
42 | mkdir -p ${D}/${bindir} | ||
43 | mkdir -p ${D}/${datadir} | ||
44 | } | ||