Message ID | 1462882617-5565-1-git-send-email-roger.pau@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 10/05/16 13:16, Roger Pau Monne wrote: > Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com> and committed.
diff --git a/build/common.mk b/build/common.mk index 1120a16..13c468e 100644 --- a/build/common.mk +++ b/build/common.mk @@ -2,6 +2,7 @@ ROOT := $(abspath $(CURDIR)/../..) DESTDIR ?= $(ROOT)/dist PREFIX ?= $(ROOT) CC ?= gcc +OBJCOPY ?= objcopy ALL_CATEGORIES := special functional xsa utility diff --git a/build/gen.mk b/build/gen.mk index d683560..839c5a0 100644 --- a/build/gen.mk +++ b/build/gen.mk @@ -44,7 +44,7 @@ else # hvm64 needs linking normally, then converting to elf32-x86-64 test-$(1)-$(NAME): $$(DEPS-$(1)) $$(link-$(1)) $$(LD) $$(LDFLAGS_$(1)) $$(DEPS-$(1)) -o $$@.tmp - objcopy $$@.tmp -O elf32-x86-64 $$@ + $$(OBJCOPY) $$@.tmp -O elf32-x86-64 $$@ rm -f $$@.tmp endif
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com> --- build/common.mk | 1 + build/gen.mk | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)