diff options
Diffstat (limited to 'meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch')
-rw-r--r-- | meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch b/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch index 2683f835e9..49f55930df 100644 --- a/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch +++ b/meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch | |||
@@ -12,10 +12,10 @@ Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | |||
12 | Makefile.am | 4 +++- | 12 | Makefile.am | 4 +++- |
13 | 1 file changed, 3 insertions(+), 1 deletion(-) | 13 | 1 file changed, 3 insertions(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/Makefile.am b/Makefile.am | 15 | Index: git/Makefile.am |
16 | index d224418..dcd95b0 100644 | 16 | =================================================================== |
17 | --- a/Makefile.am | 17 | --- git.orig/Makefile.am |
18 | +++ b/Makefile.am | 18 | +++ git/Makefile.am |
19 | @@ -19,6 +19,8 @@ | 19 | @@ -19,6 +19,8 @@ |
20 | ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} | 20 | ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} |
21 | AM_MAKEFLAGS = --no-print-directory | 21 | AM_MAKEFLAGS = --no-print-directory |
@@ -25,15 +25,21 @@ index d224418..dcd95b0 100644 | |||
25 | gummibootlibdir = $(prefix)/lib/gummiboot | 25 | gummibootlibdir = $(prefix)/lib/gummiboot |
26 | 26 | ||
27 | AM_CPPFLAGS = -include config.h | 27 | AM_CPPFLAGS = -include config.h |
28 | @@ -143,7 +145,7 @@ $(efi_solib): $(efi_objects) | 28 | @@ -148,7 +150,7 @@ $(gummiboot_solib): $(gummiboot_objects) |
29 | .DELETE_ON_ERROR: $(efi_solib) | 29 | .DELETE_ON_ERROR: $(gummboot_solib) |
30 | 30 | ||
31 | $(efi_loadername): $(efi_solib) | 31 | $(gummiboot): $(gummiboot_solib) |
32 | - $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \ | 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 \ | 33 | + $(AM_V_GEN) $(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \ |
34 | -j .dynsym -j .rel -j .rela -j .reloc -j .eh_frame \ | 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 \ | ||
35 | --target=efi-app-$(ARCH) $< $@ | 44 | --target=efi-app-$(ARCH) $< $@ |
36 | 45 | ||
37 | -- | ||
38 | 1.8.3.4 | ||
39 | |||