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>
This commit is contained in:
Robert Yang 2015-01-29 17:33:35 -08:00 committed by Richard Purdie
parent 208c9d39d7
commit 5f5d0d872e
2 changed files with 12 additions and 4 deletions

View File

@ -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}
}

View File

@ -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}
}