[Lunar-commits] CVS: moonbase/audio/alsa-driver BUILD,1.7,1.8

Stefan Wold ratler at lunar-linux.org
Thu Jan 29 12:24:47 GMT 2004


Update of /var/cvs/lunar/moonbase/audio/alsa-driver
In directory dbguin.lunar-linux.org:/tmp/cvs-serv13437/alsa-driver

Modified Files:
	BUILD 
Log Message:
Quick fix for SOUND check in kernel config, first check /usr/src/linux/.config, if not existing, check cache. Also fixed alsa-lib md5

Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/audio/alsa-driver/BUILD,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- BUILD	3 Aug 2003 20:26:47 -0000	1.7
+++ BUILD	29 Jan 2004 12:24:44 -0000	1.8
@@ -1,7 +1,11 @@
 (
 
   # Look for sound support in kernel
-  CONFIG_SOUND=$(grep "CONFIG_SOUND=" "${CONFIG_CACHE}/.config") &&
+  if [ -f /usr/src/linux/.config ]; then
+  	CONFIG_SOUND=$(grep "CONFIG_SOUND=" "/usr/src/linux/.config")
+  else
+  	CONFIG_SOUND=$(grep "CONFIG_SOUND=" "${CONFIG_CACHE}/.config")
+  fi &&
 
   #There a case or two that this could be "problematic"
   #So let's just "force it our way" :)



More information about the Lunar-commits mailing list