From ab0049ad7fa95c084968e435ea06d1de1191e2ac Mon Sep 17 00:00:00 2001 From: fake Date: Sun, 10 Oct 2004 11:35:33 +0000 Subject: [PATCH] fake: alsa-driver: disable arch-wise broken interwave and hdspm drivers on ppc, beautify .conf [2004092514570604533] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4464 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/alsa-driver/alsa-driver.conf | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package/base/alsa-driver/alsa-driver.conf b/package/base/alsa-driver/alsa-driver.conf index 9b9051fa9..baab264b8 100644 --- a/package/base/alsa-driver/alsa-driver.conf +++ b/package/base/alsa-driver/alsa-driver.conf @@ -22,8 +22,12 @@ . $base/package/base/linux/kernelversion.sh -confopt="$confopt --with-oss=yes --with-cards=all --with-sequencer=yes --with-isapnp=yes" -confopt="$confopt --with-moddir=/lib/modules/$kernelversion/alsa" +var_append confopt ' ' '--with-oss=yes --with-cards=all --with-sequencer=yes' +var_append confopt ' ' "--with-isapnp=yes --with-moddir=/lib/modules/$kernelversion/alsa" + +[ "$arch" = "powerpc" ] && \ + hook_add premake 1 "sed -i -e 's,\(CONFIG_SND_INTERWAVE.*\)=m,\1=n,' \ + -e 's,CONFIG_SND_HDSPM=m,CONFIG_SND_HDSPM=n,' toplevel.config" # otherwise alsa installs other crap like an init scrpit ... makeinstopt="$makeopt install-modules install-headers"