From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3XNK-0006Kg-St for qemu-devel@nongnu.org; Mon, 11 May 2009 11:25:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3XNG-0006J2-7D for qemu-devel@nongnu.org; Mon, 11 May 2009 11:25:06 -0400 Received: from [199.232.76.173] (port=53734 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3XNG-0006Iz-1Z for qemu-devel@nongnu.org; Mon, 11 May 2009 11:25:02 -0400 Received: from mx2.redhat.com ([66.187.237.31]:50517) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M3XNF-0005Zt-LK for qemu-devel@nongnu.org; Mon, 11 May 2009 11:25:01 -0400 Message-ID: <4A0842D2.5040706@redhat.com> Date: Mon, 11 May 2009 18:22:58 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 4/4] Introduce global .config to selectively enable compile features References: <1242052009-27339-1-git-send-email-aliguori@us.ibm.com> <1242052009-27339-5-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1242052009-27339-5-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Paul Brook Anthony Liguori wrote: > Signed-off-by: Anthony Liguori > > diff --git a/Makefile b/Makefile > index 24b8c0d..845c965 100644 > --- a/Makefile > +++ b/Makefile > @@ -41,7 +41,16 @@ ifdef CONFIG_WIN32 > LIBS+=-lwinmm -lws2_32 -liphlpapi > endif > > -all: $(TOOLS) $(DOCS) recurse-all > +ifdef CONFIG_WIN32 > +DEFCONFIG=$(SRC_PATH)/configs/win32/defconfig > +else > +DEFCONFIG=$(SRC_PATH)/configs/unix/defconfig > +endif > + > +all: .config $(TOOLS) $(DOCS) recurse-all > + > +.config: $(DEFCONFIG) > + $(call quiet-command,cp $< $@,) > > Please let's not make this a hidden file. -- error compiling committee.c: too many arguments to function