From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MeHEF-00032t-0x for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MeHEA-0002x8-51 for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:34 -0400 Received: from [199.232.76.173] (port=39416 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MeHE9-0002wt-Qt for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:29 -0400 Received: from mx1.redhat.com ([209.132.183.28]:10279) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MeHE9-0006EL-56 for qemu-devel@nongnu.org; Thu, 20 Aug 2009 19:39:29 -0400 Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n7KNdS4x028045 for ; Thu, 20 Aug 2009 19:39:28 -0400 From: Juan Quintela Date: Fri, 21 Aug 2009 01:36:59 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 00/14] Compile only devices that are used List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi This series disable complilation of devices that are not used in any of the selected targets. Patch series remove all the devices that are not used for x86_64/i386-softmmu alone. If you also compiles the softmmu targets that need them, they are compiled back in. I sent similar patches to this series a couple of months ago. The big different (for those with good memory) is that now I don't move devices from Makefile.hw and Makefile to Makefile.target. I just enable/disable them with CONFIG_FOO and normal building system. I didn't do it for other platform because I don't have an easy way to test that I haven't broke anything. Anyone that uses other platform can do the same simplification there. Later, Juan. Juan Quintela (14): Generate config-host.h after dealing with all the targets Configure ssi bus and devices only if arm-softmmu target is selected configure stellaris device only for arm softmmu configure nseries devices only for arm softmmu configure spitz devices only for arm softmmu configure sd flash only for arm softmmu configure ptimer only for arm and sparc softmmu configure m48t59 only for sparc* and ppc softmmu configure escc only for sparc and ppc softmmu configure esp only for mips_jazz and sparc softmmu configure ecc flash only for arm and sparc softmmu configure nand flash only for arm and chris softmmu configure qdev-addr.o only for sparc softmmu compile isa_mmio.o only for the platforms that use it Makefile | 18 ++++++---- Makefile.hw | 14 ++++--- Makefile.target | 10 +++--- configure | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 124 insertions(+), 22 deletions(-)