Robert Yang
2014-Nov-21 07:49 UTC
[syslinux] [PATCH 1/2] libupload: fix parallel build issue
Fixed: cp -r syslinux-6.01/com32/libupload/*.h image/usr/share/syslinux/com32/include/ [snip] rm -rf image/usr/share/syslinux/com32/include [snip] cp: cannot create regular file `image/usr/share/syslinux/com32/include/serial.h': No such file or directory The cp is happened in the "libupload" dir, while "rm -fr" is happend in "lib" dir, let "libupload" depend "lib" will fix the problem. Signed-off-by: Robert Yang <liezhi.yang at windriver.com> --- com32/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/com32/Makefile b/com32/Makefile index 754c915..abf5749 100644 --- a/com32/Makefile +++ b/com32/Makefile @@ -21,3 +21,4 @@ rosh: lib libutil samples: libutil elflink/ldlinux sysdump: lib libutil libupload gpllib lua/src: cmenu modules +libupload: lib -- 1.7.9.5
Robert Yang
2014-Nov-21 07:49 UTC
[syslinux] [PATCH 2/2] gpllib: fix parallel building issue
From: Chong Lu <Chong.Lu at windriver.com> 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. Upstream-Status: Pending Signed-off-by: Chong Lu <Chong.Lu at windriver.com> Signed-off-by: Robert Yang <liezhi.yang at windriver.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 -- 1.7.9.5