From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azkdm-0002aB-5g for qemu-devel@nongnu.org; Mon, 09 May 2016 08:50:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azkdi-0005F2-RI for qemu-devel@nongnu.org; Mon, 09 May 2016 08:50:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azkdi-0005Es-ID for qemu-devel@nongnu.org; Mon, 09 May 2016 08:50:22 -0400 References: <1460044433-19282-1-git-send-email-sergey.fedorov@linaro.org> <1460044433-19282-3-git-send-email-sergey.fedorov@linaro.org> <20160418165116.4a27b947.cornelia.huck@de.ibm.com> <20160418173409.44564649.cornelia.huck@de.ibm.com> <5715019C.60203@gmail.com> <57190FB1.2070001@gmail.com> <20160422100839.05980666.cornelia.huck@de.ibm.com> From: Paolo Bonzini Message-ID: <57308777.3050502@redhat.com> Date: Mon, 9 May 2016 14:49:59 +0200 MIME-Version: 1.0 In-Reply-To: <20160422100839.05980666.cornelia.huck@de.ibm.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/11] pc-bios/s390-ccw: Use correct strip when cross-compiling List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cornelia Huck , Sergey Fedorov Cc: Sergey Fedorov , qemu-devel@nongnu.org, =?UTF-8?Q?Alex_Benn=c3=a9e?= , Peter Crosthwaite , Richard Henderson , Christian Borntraeger , Alexander Graf On 22/04/2016 10:08, Cornelia Huck wrote: >> > However, to solve this problem, it would be enough to export >> > ${cross_prefix} from configure to config-host.mak and do like this: >> > >> > $(CROSS_PREFIX)strip <...> > I agree. This would probably be the easiest way. > $(CROSS_PREFIX) is a build->host cross prefix (tool running on build machine, producing output for the machine that QEMU runs on). The ones in roms/Makefile are build->target cross prefix (tool running on build machine, producing output for the machine that QEMU emulates). So roms/Makefile is the way to go. Paolo