aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2009-09-12 02:17:53 +0300
committerBlue Swirl <blauwirbel@gmail.com>2009-09-12 13:14:59 +0000
commit5791f45b58d2147a7a642e3fe0eb68f2f265d254 (patch)
tree5faec853c84fe9b92db4b8bf3da021b9cbb9aae0 /configure
parentaba1d00a41d5aff5fc78bf924627b89a298a5a5a (diff)
Do not link usermode targets with libhw*.a
Usermode targets are hardware-independed. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name> Acked-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1160cf6559..5970ca87b4 100755
--- a/configure
+++ b/configure
@@ -2226,15 +2226,15 @@ case "$target_arch2" in
echo "KVM_CFLAGS=$kvm_cflags" >> $config_mak
fi
esac
-echo "HWLIB=../libhw$target_phys_bits/libqemuhw$target_phys_bits.a" >> $config_mak
echo "TARGET_PHYS_ADDR_BITS=$target_phys_bits" >> $config_mak
-echo "subdir-$target: subdir-libhw$target_phys_bits" >> $config_host_mak
if test "$target_bigendian" = "yes" ; then
echo "TARGET_WORDS_BIGENDIAN=y" >> $config_mak
fi
if test "$target_softmmu" = "yes" ; then
echo "CONFIG_SOFTMMU=y" >> $config_mak
echo "LIBS+=$libs_softmmu" >> $config_mak
+ echo "HWLIB=../libhw$target_phys_bits/libqemuhw$target_phys_bits.a" >> $config_mak
+ echo "subdir-$target: subdir-libhw$target_phys_bits" >> $config_host_mak
fi
if test "$target_user_only" = "yes" ; then
echo "CONFIG_USER_ONLY=y" >> $config_mak