[syslinux:master] gpllib: fix parallel building issue

syslinux-bot for Chong Lu Chong.Lu.at.windriver.com at zytor.com
Mon Jan 5 17:48:13 PST 2015

Commit-ID:  e5ff94337477ed6fba4cb94ecc2c304f2c2488a8
Gitweb:     http://www.syslinux.org/commit/e5ff94337477ed6fba4cb94ecc2c304f2c2488a8
Author:     Chong Lu <Chong.Lu at windriver.com>
AuthorDate: Wed, 17 Dec 2014 14:06:18 -0500
Committer:  Gene Cumm <gene.cumm at gmail.com>
CommitDate: Mon, 5 Jan 2015 20:43:13 -0500

gpllib: fix parallel building issue

From: Chong Lu <Chong.Lu at windriver.com>

There might be an error when parallel build:

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

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.

Upstream-Status: Pending

Signed-off-by: Chong Lu <Chong.Lu at windriver.com>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>

 com32/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/com32/Makefile b/com32/Makefile
index abf5749..6dadd9b 100644
--- a/com32/Makefile
+++ b/com32/Makefile
@@ -22,3 +22,4 @@ samples: libutil elflink/ldlinux
 sysdump: lib libutil libupload gpllib
 lua/src: cmenu modules
 libupload: lib
+gpllib: lib

More information about the Syslinux-commits mailing list