From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxITg-0000vY-HZ for qemu-devel@nongnu.org; Tue, 26 May 2015 13:17:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxITb-000652-7t for qemu-devel@nongnu.org; Tue, 26 May 2015 13:17:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:44497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxITb-00064i-3b for qemu-devel@nongnu.org; Tue, 26 May 2015 13:17:15 -0400 Message-ID: <5564AA96.4010108@redhat.com> Date: Tue, 26 May 2015 19:17:10 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1432618686-16077-1-git-send-email-crosthwaite.peter@gmail.com> <55647526.9020802@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] Makefile.target: set master BUILD_DIR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: Peter Crosthwaite , Peter Crosthwaite , "qemu-devel@nongnu.org Developers" , Gerd Hoffmann On 26/05/2015 19:15, Peter Crosthwaite wrote: > On Tue, May 26, 2015 at 6:29 AM, Paolo Bonzini wrote: >> >> >> On 26/05/2015 07:38, Peter Crosthwaite wrote: >>> make can be invoked in the individual build dirs to build an individual >>> target or just a single file of a target. e.g. >>> >>> touch translate-all.c >>> make -C microblazeel-softmmu translate-all.o >> >> Out of curiosity, why not use "make subdir-microblazeel-softmmu" instead? >> > > Does that in any way allow you to specify a single file? > > This come up in my multi-arch work, where I am constantly touching > core headers while being a fully configured build. Every change > triggers major recompilation. So to make my quick edits I have started > a process where I use this fuller make specification to rebuild the > one under-development file+target combo that failed until the build > bugs go away. Then once is works I continue with unqualified build. I > also want to avoid retrigger of the common-obj build. Understood, thanks for the application. I'll include the patch in my next pull request (and will prepare a public git tree sooner rather than later). Paolo