summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-02-08 20:15:34 -0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-08 20:15:34 -0200
commitda650de844d58ed606690cac477680c994a70c80 (patch)
tree34a3f126017a35d801d1a52c2fecf4466758b134 /v4l/scripts
parentc9dbd667d1f27adc3a3da5d2dd2c6580f26e0fcf (diff)
downloadmediapointer-dvb-s2-da650de844d58ed606690cac477680c994a70c80.tar.gz
mediapointer-dvb-s2-da650de844d58ed606690cac477680c994a70c80.tar.bz2
XC3028 code marked with an special define option
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Current xc3028 support is still experimental, requiring more work to be sent to mainstream. So, it was marked inside some defines, in order to be removed by gentree.pl stript. Script also updated to remove it. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-xv4l/scripts/gentree.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/v4l/scripts/gentree.pl b/v4l/scripts/gentree.pl
index 4885b08ad..0ae296b93 100755
--- a/v4l/scripts/gentree.pl
+++ b/v4l/scripts/gentree.pl
@@ -146,6 +146,14 @@ sub filter_source ($$) {
$level++;
next;
}
+ if ($line =~ /^#if.*CONFIG_XC3028/) {
+ chomp($line);
+ $state{$level} = "if";
+ $if{$level} = 0;
+ print STDERR "/* BP #if 1 state=$state{$level} if=$if{$level} level=$level$
+ $level++;
+ next;
+ }
if ($line =~ /^#if.*BTTV_VERSION_CODE/) {
chomp($line);
$line =~ s@^#if\s*@@;