diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-08-03 03:23:41 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-08-03 03:23:41 +0000 |
commit | e152bc2e0d215eeee2239eb9011b3b3abe243d1d (patch) | |
tree | d1d495a7c08b5502ad5350da7a8d9c528ee699fd /v4l/scripts/buildpatch | |
parent | 4de2cea7c9bf04f81356c796b05a4f5412085d10 (diff) | |
download | mediapointer-dvb-s2-e152bc2e0d215eeee2239eb9011b3b3abe243d1d.tar.gz mediapointer-dvb-s2-e152bc2e0d215eeee2239eb9011b3b3abe243d1d.tar.bz2 |
* scripts/buildpatch:
- treating MM_KERNEL as non-mm.
* bttv-cards.c,bttv-driver.c:
- no_overlay bttv insmod parameter now works.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Diffstat (limited to 'v4l/scripts/buildpatch')
-rw-r--r-- | v4l/scripts/buildpatch | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/v4l/scripts/buildpatch b/v4l/scripts/buildpatch index fa9322fdf..319c46cf0 100644 --- a/v4l/scripts/buildpatch +++ b/v4l/scripts/buildpatch @@ -62,6 +62,14 @@ sub filter_source ($$) { if ($line =~ m/^#include \"compat.h\"/) { next; } + if ($line =~ /^#ifdef MM_KERNEL/) { + chomp($line); + $line =~ s@^#if\s*@@; + $state = "if"; + $if = eval $line; + print OUT "/* BP #if $if ($line) */\n" if $DEBUG; + next; + } if ($line =~ /^#if 0/) { chomp($line); $state = "if"; |