summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2016-11-23 17:00:31 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-16 18:05:11 +0000
commita250452f5625ea0885f0983e61c1f64bcde55b98 (patch)
tree6b4b6362d8c331add4a279be60428e99998ee06f /meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
parent81021bc0aa0f64e67535f6a9551e921a64fe4395 (diff)
downloadpoky-a250452f5625ea0885f0983e61c1f64bcde55b98.tar.gz
gummiboot: Remove old gummiboot recipe, related class and wks file
Since the gummiboot project is no longer being maintained and we are using systemd-boot as a replacement instead, we can now clean up all remaining gummiboot files. [YOCTO #10332] (From OE-Core rev: 65eb3f51b70baaf24de871301a7247d5baed00ed) Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch')
-rw-r--r--meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch b/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
deleted file mode 100644
index 49f55930df..0000000000
--- a/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From 0f7f9e3bb1d0e1b93f3ad8a1d5d7bdd3fbf27494 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Thu, 27 Mar 2014 07:20:33 +0000
4Subject: [PATCH] Makefile.am: use objcopy from the env
5
6It uses the "objcopy" directly, which is not suitable for cross compile.
7
8Upstream-Status: Pending
9
10Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
11---
12 Makefile.am | 4 +++-
13 1 file changed, 3 insertions(+), 1 deletion(-)
14
15Index: git/Makefile.am
16===================================================================
17--- git.orig/Makefile.am
18+++ git/Makefile.am
19@@ -19,6 +19,8 @@
20 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
21 AM_MAKEFLAGS = --no-print-directory
22
23+OBJCOPY ?= objcopy
24+
25 gummibootlibdir = $(prefix)/lib/gummiboot
26
27 AM_CPPFLAGS = -include config.h
28@@ -148,7 +150,7 @@ $(gummiboot_solib): $(gummiboot_objects)
29 .DELETE_ON_ERROR: $(gummboot_solib)
30
31 $(gummiboot): $(gummiboot_solib)
32- $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
33+ $(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
34 -j .dynsym -j .rel -j .rela -j .reloc \
35 --target=efi-app-$(ARCH) $< $@
36
37@@ -183,7 +185,7 @@ $(stub_solib): $(stub_objects)
38 .DELETE_ON_ERROR: $(gummboot_solib)
39
40 $(stub): $(stub_solib)
41- $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
42+ $(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
43 -j .dynsym -j .rel -j .rela -j .reloc \
44 --target=efi-app-$(ARCH) $< $@
45