From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b05Cm-00010p-Vk for qemu-devel@nongnu.org; Tue, 10 May 2016 06:47:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b05Ch-00036d-RG for qemu-devel@nongnu.org; Tue, 10 May 2016 06:47:55 -0400 Received: from mail-lf0-x22b.google.com ([2a00:1450:4010:c07::22b]:36716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b05Ch-00036H-KJ for qemu-devel@nongnu.org; Tue, 10 May 2016 06:47:51 -0400 Received: by mail-lf0-x22b.google.com with SMTP id u64so10035919lff.3 for ; Tue, 10 May 2016 03:47:51 -0700 (PDT) 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> <57308777.3050502@redhat.com> From: Sergey Fedorov Message-ID: <5731BC54.9020503@gmail.com> Date: Tue, 10 May 2016 13:47:48 +0300 MIME-Version: 1.0 In-Reply-To: <57308777.3050502@redhat.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: Paolo Bonzini , Cornelia Huck Cc: Sergey Fedorov , qemu-devel@nongnu.org, =?UTF-8?Q?Alex_Benn=c3=a9e?= , Peter Crosthwaite , Richard Henderson , Christian Borntraeger , Alexander Graf On 09/05/16 15:49, Paolo Bonzini wrote: > > 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. You're right, thanks. I suspect there should be some way to move this stuff from roms/Makefile. Kind regards, Sergey