From cf910cf2d38d6752950b379aa89c510059d6594d Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Mon, 2 Oct 2006 14:55:43 -0700 Subject: Check for Kernel OSS includes for aci.c From: Trent Piepho aci.c needs some OSS include files from the kernel to compile. Typical kernel-headers packages don't have these include files, and so aci.c fails to compile. Have make_kconfig.pl check for the headers, and disable aci if they aren't there. Signed-off-by: Trent Piepho --- v4l/scripts/make_kconfig.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'v4l/scripts/make_kconfig.pl') diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl index 10d1eabb1..4fc39383f 100755 --- a/v4l/scripts/make_kconfig.pl +++ b/v4l/scripts/make_kconfig.pl @@ -462,6 +462,9 @@ disable_config('DVB_AV7110_FIRMWARE'); disable_config('DVB_CINERGYT2_TUNING'); disable_config('DVB_FE_CUSTOMISE'); +# ACI needs some kernel includes that might not be there +disable_config('SOUND_ACI_MIXER') if (! -e "$kernel/sound/oss/sound_config.h"); + # Check dependencies my %newconfig = checkdeps(); -- cgit v1.2.3