Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | syslinux-native: fix parallel building issue |
| 2 | |
| 3 | There might be an error when parallel build: |
| 4 | |
| 5 | [snip] |
| 6 | cp: cannot create directory `tmp/sysroots/x86_64-linux/usr/share/ |
| 7 | syslinux/com32/include/gplinclude': No such file or directory |
| 8 | make[4]: *** [install] Error 1 |
| 9 | make[3]: *** [gpllib] Error 2 |
| 10 | [snip] |
| 11 | |
| 12 | This is a potential issue. In ${S}/com32/gpllib/Makefile file, |
| 13 | install target wants to copy $(SRC)/../gplinclude to |
| 14 | $(INSTALLROOT)$(COM32DIR)/include/ directory, but in ${S}/com32/lib/Makefile |
| 15 | file, the install target will remove $(INSTALLROOT)$(COM32DIR)/include |
| 16 | directory. We need to do com32/lib first. |
| 17 | |
| 18 | The patch make com32/gpllib depends on com32/lib to fix this issue. |
| 19 | |
| 20 | Upstream-Status: Pending |
| 21 | |
| 22 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> |
| 23 | --- |
| 24 | com32/Makefile | 1 + |
| 25 | 1 file changed, 1 insertion(+) |
| 26 | |
| 27 | Index: syslinux-6.03/com32/Makefile |
| 28 | =================================================================== |
| 29 | --- syslinux-6.03.orig/com32/Makefile |
| 30 | +++ syslinux-6.03/com32/Makefile |
| 31 | @@ -21,3 +21,4 @@ rosh: lib libutil |
| 32 | samples: libutil elflink/ldlinux |
| 33 | sysdump: lib libutil libupload gpllib |
| 34 | lua/src: cmenu modules |
| 35 | +gpllib: lib |