summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2006-11-19 12:11:39 -0800
committerTrent Piepho <xyzzy@speakeasy.org>2006-11-19 12:11:39 -0800
commite332e5a0cd73199965b31198ae978e5a4d4eea08 (patch)
treecaf7b1700f4747cb49874cc8fb13154d885057a0
parent4069ba86398882e0670b383ee0622f82e3ffe5a7 (diff)
downloadmediapointer-dvb-s2-e332e5a0cd73199965b31198ae978e5a4d4eea08.tar.gz
mediapointer-dvb-s2-e332e5a0cd73199965b31198ae978e5a4d4eea08.tar.bz2
Use linux/autoconf.h instead of linux/config.h
From: Trent Piepho <xyzzy@speakeasy.org> linux/config.h has been deprecated for some time and is now gone. Switch to using linux/autoconf.h, which is where the config defines have been since at least 2.4 anyway. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
-rw-r--r--v4l/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index ef5b583c0..5d77977cc 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -237,7 +237,7 @@ config-compat.h:: .myconfig
@perl \
-e 'print "#ifndef __CONFIG_COMPAT_H__\n";' \
-e 'print "#define __CONFIG_COMPAT_H__\n\n";' \
- -e 'print "#include <linux/config.h>\n\n";' \
+ -e 'print "#include <linux/autoconf.h>\n\n";' \
-e 'while(<>) {' \
-e ' next unless /^(\S+)\s*:= (\S+)$$/;' \
-e ' print "#undef $$1\n";' \