summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-04-23 09:15:19 (GMT)
committerJoshua Lock <joshua.lock@collabora.co.uk>2015-04-28 09:07:05 (GMT)
commit07535f01624d88ae2d7610c7266b221684c9bba6 (patch)
tree8a5aa709f281e2e9b8d57348dea8abe4b6c3d651
parentcbea9b68dbf4fce3efae055dd79deb932329012e (diff)
downloadopenembedded-core-07535f01624d88ae2d7610c7266b221684c9bba6.tar.gz
openembedded-core-07535f01624d88ae2d7610c7266b221684c9bba6.tar.xz
gnu-efi: fix parallel issue
Fixed: Assembler messages: Fatal error: can't create runtime/rtlock.o: No such file or directory Assembler messages: Fatal error: can't create runtime/rtdata.o: No such file or directory Assembler messages: Fatal error: can't create runtime/vm.o: No such file or directory Assembler messages: Fatal error: can't create runtime/efirtlib.o: No such file or directory (From OE-Core master rev: 86d428775c95a900c9b452f03548b56cb980b64c) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch38
-rw-r--r--meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb1
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 0000000..1b2ae1e
--- /dev/null
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi/lib-Makefile-fix-parallel-issue.patch
@@ -0,0 +1,38 @@
+From 0daa354a16aa3cade56ed423d0f8a04cf1c22f9d Mon Sep 17 00:00:00 2001
+From: Robert Yang <liezhi.yang@windriver.com>
+Date: Thu, 23 Apr 2015 01:49:31 -0700
+Subject: [PATCH] lib/Makefile: fix parallel issue
+
+Fixed:
+Assembler messages:
+Fatal error: can't create runtime/rtlock.o: No such file or directory
+Assembler messages:
+Fatal error: can't create runtime/rtdata.o: No such file or directory
+Assembler messages:
+Fatal error: can't create runtime/vm.o: No such file or directory
+Assembler messages:
+Fatal error: can't create runtime/efirtlib.o: No such file or directory
+
+Upstream-Status: Pending
+
+Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
+---
+ lib/Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/lib/Makefile b/lib/Makefile
+index dc4b94a..f64d1ed 100644
+--- a/lib/Makefile
++++ b/lib/Makefile
+@@ -73,6 +73,8 @@ all: libsubdirs libefi.a
+ libsubdirs:
+ for sdir in $(SUBDIRS); do mkdir -p $$sdir; done
+
++$(OBJS): libsubdirs
++
+ libefi.a: $(OBJS)
+ $(AR) rv $@ $(OBJS)
+
+--
+1.7.9.5
+
diff --git a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb
index ad7f2e3..9714c03 100644
--- a/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb
+++ b/meta/recipes-bsp/gnu-efi/gnu-efi_3.0.1.bb
@@ -16,6 +16,7 @@ LIC_FILES_CHKSUM = "file://gnuefi/crt0-efi-arm.S;beginline=4;endline=9;md5=2240d
SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.bz2 \
file://parallel-make-archives.patch \
+ file://lib-Makefile-fix-parallel-issue.patch \
"
SRC_URI[md5sum] = "c4099c443b6b0c2b04dedc33e7814ec0"
SRC_URI[sha256sum] = "e2e8d5940347eebfb00eaaeef107a8ba59e7838e40bc716c74d9a36fff648f1f"