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

login
register
mail settings
Submitter Juan Quintela
Date Aug. 10, 2009, 7:06 p.m.
Message ID <78d3e8583e52db153c22a1c75b7f9130c9120995.1249929857.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/31099/
State Superseded
Headers show

Comments

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

Patch

diff --git a/configure b/configure
index e5b9431..6679919 100755
--- a/configure
+++ b/configure
@@ -1573,10 +1573,6 @@  if test "$vde" = "yes" ; then
   echo "CONFIG_VDE=y" >> $config_host_mak
   echo "VDE_LIBS=$vde_libs" >> $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:]'`
@@ -2090,6 +2086,11 @@  if test "$target_softmmu" = "yes" ; then
     ldflags='-Wl,-G0 -Wl,-T../config-host.ld -Wl,-T,$(SRC_PATH)/$(ARCH).ld -static'
     ;;
   esac
+
+for card in $audio_card_list; do
+    def=CONFIG_`echo $card | tr '[:lower:]' '[:upper:]'`
+    echo "$def=y" >> $config_mak
+done
 fi

 if test "$ldflags" != "" ; then