[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 10/14] configure esp only for mips_jazz and sparc so
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 10/14] configure esp only for mips_jazz and sparc softmmu |
Date: |
Fri, 21 Aug 2009 01:37:09 +0200 |
Signed-off-by: Juan Quintela <address@hidden>
---
Makefile.hw | 3 ++-
configure | 10 ++++++++++
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/Makefile.hw b/Makefile.hw
index 6299a6e..a470270 100644
--- a/Makefile.hw
+++ b/Makefile.hw
@@ -19,7 +19,8 @@ obj-$(CONFIG_M48T59) += m48t59.o
obj-$(CONFIG_ESCC) += escc.o
# SCSI layer
-obj-y += lsi53c895a.o esp.o
+obj-y += lsi53c895a.o
+obj-$(CONFIG_ESP) += esp.o
obj-y += dma-helpers.o sysbus.o qdev-addr.o
diff --git a/configure b/configure
index 7e8f3ee..ffdd612 100755
--- a/configure
+++ b/configure
@@ -1822,6 +1822,7 @@ sd_flash=no
ptimer=no
m48t59=no
escc=no
+esp=no
for target in $target_list; do
target_dir="$target"
@@ -2061,11 +2062,15 @@ if test "$target_softmmu" = "yes" ; then
;;
sparc64)
m48t59=yes
+ esp=yes
;;
ppc*)
m48t59=yes
escc=yes
;;
+ mips*)
+ esp=yes
+ ;;
esac
fi
if test "$target_user_only" = "yes" ; then
@@ -2287,6 +2292,11 @@ fi
if test "$escc" = "yes" ; then
echo "CONFIG_ESCC=y" >> $config_host_mak
fi
+
+if test "$esp" = "yes" ; then
+ echo "CONFIG_ESP=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] Re: [PATCH 03/14] configure stellaris device only for arm softmmu, (continued)
- [Qemu-devel] [PATCH 04/14] configure nseries devices only for arm softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 06/14] configure sd flash only for arm softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 07/14] configure ptimer only for arm and sparc softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 05/14] configure spitz devices only for arm softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 08/14] configure m48t59 only for sparc* and ppc softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 09/14] configure escc only for sparc and ppc softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 10/14] configure esp only for mips_jazz and sparc softmmu,
Juan Quintela <=
- [Qemu-devel] [PATCH 11/14] configure ecc flash only for arm and sparc softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 12/14] configure nand flash only for arm and chris softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 13/14] configure qdev-addr.o only for sparc softmmu, Juan Quintela, 2009/08/20
- [Qemu-devel] [PATCH 14/14] compile isa_mmio.o only for the platforms that use it, Juan Quintela, 2009/08/20