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 | |
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')
-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 | |||
44 | 44 | ||
45 | EXTRA_OECONF = "--without-x" | 45 | EXTRA_OECONF = "--without-x" |
46 | 46 | ||
47 | PARALLEL_MAKEINST = "" | ||
48 | |||
49 | BBCLASSEXTEND = "native nativesdk" | 47 | BBCLASSEXTEND = "native nativesdk" |
48 | |||
49 | do_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 | ||
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 | } | ||