From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=57963 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PM8Kx-0007cV-Vz for qemu-devel@nongnu.org; Fri, 26 Nov 2010 19:08:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PM8Kw-00055U-Uh for qemu-devel@nongnu.org; Fri, 26 Nov 2010 19:08:19 -0500 Received: from gateway.codesourcery.com ([38.113.113.105]:57903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PM8Kw-00055N-Ne for qemu-devel@nongnu.org; Fri, 26 Nov 2010 19:08:18 -0500 From: Paul Brook Date: Sat, 27 Nov 2010 00:07:36 +0000 Message-Id: <1290816459-31009-1-git-send-email-paul@codesourcery.com> Subject: [Qemu-devel] [PATCH 0/3] Reduce duplication in default configs List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paul Brook As mentioned elsewhere recently, there are a lot of devices that are common to all targets. In particular all PCI devices [should] work on all PCI capable machies. Currently each target default config has to be updated separately, which becomes unmaintainable as as we get finer grained control over which devices are built. Following patch series allows a default config to include other files, and uses this to consistently enable all PCI devices on all targets. I have also made VirtIO devices optional. Paul Brook (3): Include directives in default configs PCI config include VirtIO config option Makefile | 11 ++++++----- Makefile.objs | 31 ++++++++++++++++++++----------- Makefile.target | 8 ++++---- default-configs/arm-softmmu.mak | 3 +-- default-configs/cris-softmmu.mak | 2 +- default-configs/i386-softmmu.mak | 4 +--- default-configs/m68k-softmmu.mak | 2 +- default-configs/microblaze-softmmu.mak | 1 - default-configs/mips-softmmu.mak | 3 +-- default-configs/mips64-softmmu.mak | 3 +-- default-configs/mips64el-softmmu.mak | 3 +-- default-configs/mipsel-softmmu.mak | 3 +-- default-configs/ppc-softmmu.mak | 3 +-- default-configs/ppc64-softmmu.mak | 3 +-- default-configs/ppcemb-softmmu.mak | 3 +-- default-configs/s390x-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 3 +-- default-configs/sh4eb-softmmu.mak | 3 +-- default-configs/sparc-softmmu.mak | 2 +- default-configs/sparc64-softmmu.mak | 2 +- default-configs/x86_64-softmmu.mak | 4 +--- make_device_config.sh | 27 +++++++++++++++++++++++++++ 22 files changed, 74 insertions(+), 51 deletions(-) create mode 100644 make_device_config.sh -- 1.7.2.3