summaryrefslogtreecommitdiff
path: root/v4l/scripts/make_kconfig.pl
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2006-10-02 14:55:43 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2006-10-02 14:55:43 -0700
commitcf910cf2d38d6752950b379aa89c510059d6594d (patch)
tree2299fe4d99eccd9fc3b3ba85df4c1bd1bf6080ad /v4l/scripts/make_kconfig.pl
parentb08105ee409c139e15147eda1c7bc67f026dd06d (diff)
downloadmediapointer-dvb-s2-cf910cf2d38d6752950b379aa89c510059d6594d.tar.gz
mediapointer-dvb-s2-cf910cf2d38d6752950b379aa89c510059d6594d.tar.bz2
Check for Kernel OSS includes for aci.c
From: Trent Piepho <xyzzy@speakeasy.org> 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 <xyzzy@speakeasy.org>
Diffstat (limited to 'v4l/scripts/make_kconfig.pl')
-rwxr-xr-xv4l/scripts/make_kconfig.pl3
1 files changed, 3 insertions, 0 deletions
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();