summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2015-04-08 22:33:54 +0200
committerDavid Herrmann <dh.herrmann@gmail.com>2015-04-11 12:48:18 +0200
commitc4a77bcb9a50f152557e25c90837d8bfef858729 (patch)
tree5e191a68e93dbbfbd1573780e54203dc90a0a633 /Makefile.am
parent63e69fb4a0ce15d5a0c35c384402834ec2cb5152 (diff)
build: allow setting OBJCOPY
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 453b524eb5..72a2c3c220 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2632,7 +2632,7 @@ $(systemd_boot_solib): $(systemd_boot_objects)
nm -D -u $@ | grep ' U ' && exit 1 || :
$(systemd_boot): $(systemd_boot_solib)
- $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
+ $(AM_V_GEN)$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
-j .dynsym -j .rel -j .rela -j .reloc $(EFI_FORMAT) $< $@
# ------------------------------------------------------------------------------
@@ -2669,7 +2669,7 @@ $(stub_solib): $(stub_objects)
nm -D -u $@ | grep ' U ' && exit 1 || :
$(stub): $(stub_solib)
- $(AM_V_GEN) objcopy -j .text -j .sdata -j .data -j .dynamic \
+ $(AM_V_GEN)$(OBJCOPY) -j .text -j .sdata -j .data -j .dynamic \
-j .dynsym -j .rel -j .rela -j .reloc $(EFI_FORMAT) $< $@
# ------------------------------------------------------------------------------