xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xtf: allow selecting objcopy binary to use
@ 2016-05-10 12:16 Roger Pau Monne
  2016-05-10 13:08 ` Andrew Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Pau Monne @ 2016-05-10 12:16 UTC (permalink / raw)
  To: xen-devel, andrew.cooper3; +Cc: Roger Pau Monne

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(-)

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
 
-- 
2.7.4 (Apple Git-66)


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] xtf: allow selecting objcopy binary to use
  2016-05-10 12:16 [PATCH] xtf: allow selecting objcopy binary to use Roger Pau Monne
@ 2016-05-10 13:08 ` Andrew Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Cooper @ 2016-05-10 13:08 UTC (permalink / raw)
  To: Roger Pau Monne, xen-devel

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.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-05-10 13:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-10 12:16 [PATCH] xtf: allow selecting objcopy binary to use Roger Pau Monne
2016-05-10 13:08 ` Andrew Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).