diff options
| -rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch | 38 | ||||
| -rw-r--r-- | meta/recipes-bsp/gnu-efi/gnu-efi_3.0.2.bb | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch b/meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch new file mode 100644 index 0000000000..1b2ae1ef06 --- /dev/null +++ b/meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | From 0daa354a16aa3cade56ed423d0f8a04cf1c22f9d Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Robert Yang <liezhi.yang@windriver.com> | ||
| 3 | Date: Thu, 23 Apr 2015 01:49:31 -0700 | ||
| 4 | Subject: [PATCH] lib/Makefile: fix parallel issue | ||
| 5 | |||
| 6 | Fixed: | ||
| 7 | Assembler messages: | ||
| 8 | Fatal error: can't create runtime/rtlock.o: No such file or directory | ||
| 9 | Assembler messages: | ||
| 10 | Fatal error: can't create runtime/rtdata.o: No such file or directory | ||
| 11 | Assembler messages: | ||
| 12 | Fatal error: can't create runtime/vm.o: No such file or directory | ||
| 13 | Assembler messages: | ||
| 14 | Fatal error: can't create runtime/efirtlib.o: No such file or directory | ||
| 15 | |||
| 16 | Upstream-Status: Pending | ||
| 17 | |||
| 18 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | ||
| 19 | --- | ||
| 20 | lib/Makefile | 2 ++ | ||
| 21 | 1 file changed, 2 insertions(+) | ||
| 22 | |||
| 23 | diff --git a/lib/Makefile b/lib/Makefile | ||
| 24 | index dc4b94a..f64d1ed 100644 | ||
| 25 | --- a/lib/Makefile | ||
| 26 | +++ b/lib/Makefile | ||
| 27 | @@ -73,6 +73,8 @@ all: libsubdirs libefi.a | ||
| 28 | libsubdirs: | ||
| 29 | for sdir in $(SUBDIRS); do mkdir -p $$sdir; done | ||
| 30 | |||
| 31 | +$(OBJS): libsubdirs | ||
| 32 | + | ||
| 33 | libefi.a: $(OBJS) | ||
| 34 | $(AR) rv $@ $(OBJS) | ||
| 35 | |||
| 36 | -- | ||
| 37 | 1.7.9.5 | ||
| 38 | |||
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.2.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.2.bb index 2b4f3f37e2..27cc6c17c4 100644 --- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.2.bb +++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.2.bb | |||
| @@ -16,6 +16,7 @@ LIC_FILES_CHKSUM = "file://gnuefi/crt0-efi-arm.S;beginline=4;endline=9;md5=2240d | |||
| 16 | 16 | ||
| 17 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ | 17 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \ |
| 18 | file://parallel-make-archives.patch \ | 18 | file://parallel-make-archives.patch \ |
| 19 | file://lib-Makefile-fix-parallel-issue.patch \ | ||
| 19 | " | 20 | " |
| 20 | SRC_URI[md5sum] = "a9db2cabc01a2674715bd6aea2911f01" | 21 | SRC_URI[md5sum] = "a9db2cabc01a2674715bd6aea2911f01" |
| 21 | SRC_URI[sha256sum] = "194b580ecdb1fad0e41914845ba064c279afb687855960b58693459e5537b4d7" | 22 | SRC_URI[sha256sum] = "194b580ecdb1fad0e41914845ba064c279afb687855960b58693459e5537b4d7" |
