@@ -23,8 +23,8 @@ obj-$(CONFIG_ESCC) += escc.o
obj-y += lsi53c895a.o
obj-$(CONFIG_ESP) += esp.o
-obj-y += dma-helpers.o sysbus.o qdev-addr.o
-
+obj-y += dma-helpers.o sysbus.o
+obj-$(CONFIG_TADDR) += qdev-addr.o
all: $(HWLIB)
# Dummy command so that make thinks it has done something
@true
@@ -1825,6 +1825,7 @@ escc=no
esp=no
ecc_flash=no
nand=no
+taddr=no
for target in $target_list; do
target_dir="$target"
@@ -2064,6 +2065,7 @@ if test "$target_softmmu" = "yes" ; then
m48t59=yes
escc=yes
ecc_flash=yes
+ taddr=yes
;;
sparc64)
m48t59=yes
@@ -2313,6 +2315,10 @@ if test "$nand" = "yes" ; then
echo "CONFIG_NAND=y" >> $config_host_mak
fi
+if test "$taddr" = "yes" ; then
+ echo "CONFIG_TADDR=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
Signed-off-by: Juan Quintela <quintela@redhat.com> --- Makefile.hw | 4 ++-- configure | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-)