diff options
| -rw-r--r-- | meta/recipes-bsp/gummiboot/gummiboot/fix-objcopy.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-bsp/gummiboot/gummiboot_git.bb | 4 |
2 files changed, 19 insertions, 13 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 | |||
diff --git a/meta/recipes-bsp/gummiboot/gummiboot_git.bb b/meta/recipes-bsp/gummiboot/gummiboot_git.bb index 7fc908e4fe..91c3db9306 100644 --- a/meta/recipes-bsp/gummiboot/gummiboot_git.bb +++ b/meta/recipes-bsp/gummiboot/gummiboot_git.bb | |||
| @@ -9,8 +9,8 @@ DEPENDS = "gnu-efi util-linux" | |||
| 9 | inherit autotools pkgconfig | 9 | inherit autotools pkgconfig |
| 10 | inherit deploy | 10 | inherit deploy |
| 11 | 11 | ||
| 12 | PV = "43+git${SRCPV}" | 12 | PV = "48+git${SRCPV}" |
| 13 | SRCREV = "4062c51075ba054d4949c714fe06123f9ad3097d" | 13 | SRCREV = "2bcd919c681c952eb867ef1bdb458f1bc49c2d55" |
| 14 | SRC_URI = "git://anongit.freedesktop.org/gummiboot \ | 14 | SRC_URI = "git://anongit.freedesktop.org/gummiboot \ |
| 15 | file://fix-objcopy.patch \ | 15 | file://fix-objcopy.patch \ |
| 16 | " | 16 | " |
