[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 09/15] configure escc only for sparc and ppc softmmu
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 09/15] configure escc only for sparc and ppc softmmu |
Date: |
Mon, 24 Aug 2009 13:29:40 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile.hw | 2 +-
configure | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile.hw b/Makefile.hw
index d8da814..6299a6e 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -16,7 +16,7 @@ obj-y += fw_cfg.o
obj-y += watchdog.o
obj-y += nand.o ecc.o
obj-$(CONFIG_M48T59) += m48t59.o
-obj-y += escc.o
+obj-$(CONFIG_ESCC) += escc.o
# SCSI layer
obj-y += lsi53c895a.o esp.o
diff --git a/configure b/configure
index 5757368..b4155be 100755
--- a/configure
+++ b/configure
@@ -1821,6 +1821,7 @@ spitz=no
sd_flash=no
ptimer=no
m48t59=no
+escc=no
for target in $target_list; do
target_dir="$target"
@@ -2056,6 +2057,7 @@ if test "$target_softmmu" = "yes" ; then
sparc)
ptimer=yes
m48t59=yes
+ escc=yes
;;
sparc64)
ptimer=yes
@@ -2063,6 +2065,7 @@ if test "$target_softmmu" = "yes" ; then
;;
ppc*)
m48t59=yes
+ escc=yes
;;
esac
fi
@@ -2282,6 +2285,9 @@ if test "$m48t59" = "yes" ; then
echo "CONFIG_M48T59=y" >> $config_host_mak
fi
+if test "$escc" = "yes" ; then
+ echo "CONFIG_ESCC=y" >> $config_host_mak
+fi
echo "/* Automatically generated by configure - do not modify */" >
$config_host_h
/bin/sh $source_path/create_config < $config_host_mak >> $config_host_h
--
1.6.2.5
- [Qemu-devel] [PATCH v2 00/15] Compile only devices that are used, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 01/15] Generate config-host.h after dealing with all the targets, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 02/15] Configure ssi bus and devices only if arm-softmmu target is selected, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 04/15] configure nseries devices only for arm softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 03/15] configure stellaris device only for arm softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 06/15] configure sd flash only for arm softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 08/15] configure m48t59 only for sparc* and ppc softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 05/15] configure spitz devices only for arm softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 07/15] configure ptimer only for arm and sparc softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 11/15] configure ecc flash only for arm and sparc softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 09/15] configure escc only for sparc and ppc softmmu,
Juan Quintela <=
- [Qemu-devel] [PATCH 10/15] configure esp only for mips_jazz and sparc softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 12/15] configure nand flash only for arm and chris softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 13/15] configure qdev-addr.o only for sparc softmmu, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 14/15] compile isa_mmio.o only for the platforms that use it, Juan Quintela, 2009/08/24
- [Qemu-devel] [PATCH 15/15] Generate gdbstub-xml.c only when there is anything to generate, Juan Quintela, 2009/08/24