aboutsummaryrefslogtreecommitdiffstats
path: root/linux/use_dir.pl
diff options
context:
space:
mode:
Diffstat (limited to 'linux/use_dir.pl')
-rwxr-xr-xlinux/use_dir.pl9
1 files changed, 8 insertions, 1 deletions
diff --git a/linux/use_dir.pl b/linux/use_dir.pl
index 2172270..015c9ac 100755
--- a/linux/use_dir.pl
+++ b/linux/use_dir.pl
@@ -166,7 +166,13 @@ sub get_patched_files()
{
my %files;
- open IN, $patchfile;
+ open IN, $patchfile or return %files;
+
+ # Those files are always patched to add warnings about the usage of experimental version
+ $files{"drivers/media/dvb/dvb-core/dvbdev.c"} = 1;
+ $files{"drivers/media/video/v4l2-dev.c"} = 1;
+ $files{"drivers/media/rc/rc-main.c"} = 1;
+
while (<IN>) {
next if (/^\s*#/);
@@ -193,6 +199,7 @@ sub sync_patched_files()
return if (!%patches);
foreach my $file (keys %patches) {
+printf "sync patched file $file\n";
$fhash{$file} = hash_calc("$dir/$file");
mkpath($path);
copy("$dir/$file", $file);

Privacy Policy