From patchwork Tue May 10 12:16:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Roger_Pau_Monn=C3=A9?= X-Patchwork-Id: 9057161 Return-Path: X-Original-To: patchwork-xen-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3AF83BF29F for ; Tue, 10 May 2016 12:19:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C8D6200E8 for ; Tue, 10 May 2016 12:19:49 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 46EC8200E6 for ; Tue, 10 May 2016 12:19:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b06bC-0006xf-Kh; Tue, 10 May 2016 12:17:14 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b06bB-0006xZ-P7 for xen-devel@lists.xenproject.org; Tue, 10 May 2016 12:17:13 +0000 Received: from [85.158.139.211] by server-15.bemta-5.messagelabs.com id CE/64-26599-841D1375; Tue, 10 May 2016 12:17:12 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRWlGSWpSXmKPExsXitHSDva7HRcN wgxd1Ft+3TGZyYPQ4/OEKSwBjFGtmXlJ+RQJrxoFZbUwFP9gqrlz5ytzA+Jq1i5GTQ0LAX+LD sRnsIDabgI7Exbk72UBsEQFHiQNH1rF0MXJwMAtoSSxZKQUSFhawlmg79YwJxGYRUJV4eukS2 BheAWeJDevPMUOM1JV4eO43VFxQ4uTMJywgNrOApkTr9t/sELa8RPPW2WD1QgKKEv3zHrCBrJ IQ4Jb4220/gZF3FpLuWUi6ZyHpXsDIvIpRvTi1qCy1SNdML6koMz2jJDcxM0fX0MBULze1uDg xPTUnMalYLzk/dxMjMJgYgGAH49QG50OMkhxMSqK8glMMw4X4kvJTKjMSizPii0pzUosPMcpw cChJ8L4+D5QTLEpNT61Iy8wBhjVMWoKDR0mE9ytImre4IDG3ODMdInWKUZdjwY/ba5mEWPLy8 1KlxHm3ghQJgBRllObBjYDF2CVGWSlhXkago4R4ClKLcjNLUOVfMYpzMCoJ814CmcKTmVcCt+ kV0BFMQEfIsemDHFGSiJCSamB0rVisGqj//K9j/pVb/U9knoq5vRb7PaeoN/nOlOhjgftvP5b atyVMQvTog7TwifeupxVcOG/ya+ckXeGGrQU5cUmrZad8mJjOECT+WmGtl9I8bZ+dX1TCbD+5 37JMf7DiX/eNcwLlUy0+LQkO6P+qLFnZIbltw8rwveLeq5TtZy/12PL6l+ZFJZbijERDLeai4 kQACAEWO6wCAAA= X-Env-Sender: prvs=9315a7b1e=roger.pau@citrix.com X-Msg-Ref: server-2.tower-206.messagelabs.com!1462882630!22794768!1 X-Originating-IP: [66.165.176.63] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogNjYuMTY1LjE3Ni42MyA9PiAzMDYwNDg=\n, received_headers: No Received headers X-StarScan-Received: X-StarScan-Version: 8.34; banners=-,-,- X-VirusChecked: Checked Received: (qmail 31064 invoked from network); 10 May 2016 12:17:11 -0000 Received: from smtp02.citrix.com (HELO SMTP02.CITRIX.COM) (66.165.176.63) by server-2.tower-206.messagelabs.com with RC4-SHA encrypted SMTP; 10 May 2016 12:17:11 -0000 X-IronPort-AV: E=Sophos;i="5.24,604,1454976000"; d="scan'208";a="359498418" From: Roger Pau Monne To: , Date: Tue, 10 May 2016 14:16:57 +0200 Message-ID: <1462882617-5565-1-git-send-email-roger.pau@citrix.com> X-Mailer: git-send-email 2.7.4 (Apple Git-66) MIME-Version: 1.0 X-DLP: MIA1 Cc: Roger Pau Monne Subject: [Xen-devel] [PATCH] xtf: allow selecting objcopy binary to use X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Roger Pau Monné Reviewed-by: Andrew Cooper and committed. --- 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