qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 05/14] configure spitz devices only for arm softmmu


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 05/14] configure spitz devices only for arm softmmu
Date: Fri, 21 Aug 2009 01:37:04 +0200

Signed-off-by: Juan Quintela <address@hidden>
---
 Makefile  |    3 ++-
 configure |    6 ++++++
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 6b703ee..4a9fc0c 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ obj-y = $(block-obj-y)
 obj-y += readline.o console.o host-utils.o

 obj-y += irq.o ptimer.o
-obj-y += i2c.o smbus.o smbus_eeprom.o max7310.o wm8750.o
+obj-y += i2c.o smbus.o smbus_eeprom.o
 obj-y += eeprom93xx.o
 obj-y += scsi-disk.o cdrom.o
 obj-y += scsi-generic.o
@@ -90,6 +90,7 @@ obj-y += qemu-char.o aio.o net-checksum.o savevm.o
 obj-y += msmouse.o ps2.o
 obj-y += qdev.o qdev-properties.o

+obj-$(CONFIG_SPITZ) += max7310.o wm8750.o
 obj-$(CONFIG_NSERIES) += twl92230.o tmp105.o lm832x.o tsc2005.o
 obj-$(CONFIG_STELLARIS) += stellaris_input.o ssd0303.o
 obj-$(CONFIG_SSI) += ssi.o ssi-sd.o max111x.o ssd0323.o ads7846.o
diff --git a/configure b/configure
index 4444fdd..3e23ea6 100755
--- a/configure
+++ b/configure
@@ -1817,6 +1817,7 @@ fi
 ssi_bus=no
 stellaris=no
 nseries=no
+spitz=no

 for target in $target_list; do
 target_dir="$target"
@@ -2045,6 +2046,7 @@ if test "$target_softmmu" = "yes" ; then
     ssi_bus=yes
     stellaris=yes
     nseries=yes
+    spitz=yes
   ;;
   esac
 fi
@@ -2248,6 +2250,10 @@ if test "$nseries" = "yes" ; then
     echo "CONFIG_NSERIES=y" >> $config_host_mak
 fi

+if test "$spitz" = "yes" ; then
+    echo "CONFIG_SPITZ=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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]