From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJaf5-0004H8-C2 for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:09:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJaf0-0004Di-B2 for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:09:46 -0400 Received: from [199.232.76.173] (port=58266 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJaf0-0004Dc-6i for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:09:42 -0400 Received: from mx2.redhat.com ([66.187.237.31]:45673) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJaez-0002dv-D7 for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:09:41 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5OM9eXN007436 for ; Wed, 24 Jun 2009 18:09:40 -0400 From: quintela@redhat.com Date: Thu, 25 Jun 2009 00:07:57 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 00/14] Refactor Makefile object selection List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Juan Quintela From: Juan Quintela Hi Following Anthony suggestion, I changed Makefile* and confiure to: a- s/OBJS/obj-y/ b- changed configure to generate CONFIG_FOO=y instead of CONFIG_FOO=yes c- Switch all occurences of ifdef CONFIG_FOO obj-y += foo.o endif to obj-$(CONFIG_FOO) += foo.o If people agree on this approach, I will rebase my previous series on top of this one. If you preffer to pull, you can get it: git://git.et.redhat.com/qemu-quintela new_selection Later, Juan. Juan Quintela (14): Rename OBJS to obj-y Rename LIBOBJS to libobj-y Rename OBJS to obj-y Rename BLOCK_OBJS to block-obj-y Rename AUDIO_OBJS to audio-obj-y Rename SLIRP_OBJS to slirp-obj-y Rename XEN_OBJS to xen-obj-y Rename USER_OBJS to user-obj-y Rename OBJS to obj-y move CONFIG_* values from yes to y Substitute ifdef CONFIG_FOO by obj- Substitute ifdef CONFIG_FOO by obj- Rename SOUND_HW to sound-obj-y Substitute ifdef CONFIG_FOO by sound-obj- Makefile | 164 ++++++++++++++------------------- Makefile.hw | 18 ++-- Makefile.target | 281 ++++++++++++++++++++++++++---------------------------- configure | 74 +++++++------- 4 files changed, 250 insertions(+), 287 deletions(-)