xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org, andrew.cooper3@citrix.com
Cc: Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH] xtf: allow selecting objcopy binary to use
Date: Tue, 10 May 2016 14:16:57 +0200	[thread overview]
Message-ID: <1462882617-5565-1-git-send-email-roger.pau@citrix.com> (raw)

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

             reply	other threads:[~2016-05-10 12:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-10 12:16 Roger Pau Monne [this message]
2016-05-10 13:08 ` [PATCH] xtf: allow selecting objcopy binary to use Andrew Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462882617-5565-1-git-send-email-roger.pau@citrix.com \
    --to=roger.pau@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).