From a62e952b812d6dbe54334de3b63aa93b91b1ffe1 Mon Sep 17 00:00:00 2001 From: Chong Lu Date: Thu, 15 May 2014 16:54:32 +0800 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- .../syslinux-fix-parallel-building-issue.patch | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta/recipes-devtools/syslinux/files/syslinux-fix-parallel-building-issue.patch (limited to 'meta/recipes-devtools/syslinux/files') diff --git a/meta/recipes-devtools/syslinux/files/syslinux-fix-parallel-building-issue.patch b/meta/recipes-devtools/syslinux/files/syslinux-fix-parallel-building-issue.patch new file mode 100644 index 0000000000..6b695791cd --- /dev/null +++ b/meta/recipes-devtools/syslinux/files/syslinux-fix-parallel-building-issue.patch @@ -0,0 +1,38 @@ +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. + +Upstream-Status: Pending + +Signed-off-by: Chong Lu +--- + com32/Makefile | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/com32/Makefile b/com32/Makefile +index 7ea1b01..9a1721b 100644 +--- a/com32/Makefile ++++ b/com32/Makefile +@@ -20,3 +20,4 @@ modules: lib libutil gpllib + rosh: lib libutil + samples: libutil elflink/ldlinux + sysdump: libupload gpllib ++gpllib: lib +-- +1.7.9.5 + -- cgit v1.2.3-54-g00ecf