diff mbox

[2/3] What cards to compile is a per target thing

Message ID 21585ab51ebb5f6a6beed35cf96a1368adfbdc98.1249948198.git.quintela@redhat.com
State Superseded
Headers show

Commit Message

Juan Quintela Aug. 10, 2009, 11:50 p.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
diff mbox

Patch

diff --git a/configure b/configure
index 834d88e..a1db8b9 100755
--- a/configure
+++ b/configure
@@ -1622,10 +1622,6 @@  fi
 if test "$vde" = "yes" ; then
   echo "CONFIG_VDE=y" >> $config_host_mak
 fi
-for card in $audio_card_list; do
-    def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
-    echo "$def=y" >> $config_host_mak
-done
 echo "CONFIG_AUDIO_DRIVERS=$audio_drv_list" >> $config_host_mak
 for drv in $audio_drv_list; do
     def=CONFIG_`echo $drv | tr '[:lower:]' '[:upper:]'`
@@ -2207,6 +2203,11 @@  if test "$target_softmmu" = "yes" ; then
     ldflags="-Wl,-G0 $linker_script -static $ldflags"
     ;;
   esac
+
+for card in $audio_card_list; do
+    def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
+    echo "$def=y" >> $config_mak
+done
 fi

 echo "LDFLAGS+=$ldflags" >> $config_mak