]> code.ossystems Code Review - openembedded-core.git/commit
syslinux-native: fix parallel building issue
authorChong Lu <Chong.Lu@windriver.com>
Thu, 15 May 2014 08:54:32 +0000 (16:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 May 2014 12:42:09 +0000 (13:42 +0100)
commitfa97064172a2191fbb778565475a074d08d54f9a
tree12efde32547e2d061acfb5f0a703ad1be3d6a756
parent99162f2aef8715797bde98d9f9d4b52ddbca4996
syslinux-native: fix parallel building issue

There might be an error when parallel build:

[snip]
cp: cannot create directory `tmp/sysroots/x86_64-linux/usr/share/
syslinux/com32/include/gplinclude': No such file or directory
make[4]: *** [install] Error 1
make[3]: *** [gpllib] Error 2
[snip]

This is a potential issue. In ${S}/com32/gpllib/Makefile file,
install target wants to copy $(SRC)/../gplinclude to
$(INSTALLROOT)$(COM32DIR)/include/ directory, but in ${S}/com32/lib/Makefile
file, the install target will remove $(INSTALLROOT)$(COM32DIR)/include
directory. We need to do com32/lib first.

The patch make com32/gpllib depends on com32/lib to fix this issue.

(From OE-Core rev: cae1a039658cfb47390650ad5b56536ff19e1217)

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/syslinux/files/syslinux-fix-parallel-building-issue.patch [new file with mode: 0644]
meta/recipes-devtools/syslinux/syslinux_6.01.bb