summaryrefslogtreecommitdiff
path: root/v4l/scripts
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-04-09 13:02:02 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-04-09 13:02:02 -0300
commit8e43b1719bccf0441257cd803e36d75e34e55d9f (patch)
treeac8e67960e6eed1a7dda9a5b977b65721ff04aed /v4l/scripts
parent655e16287856b6732f59e3397bd273d4ec361268 (diff)
downloadmediapointer-dvb-s2-8e43b1719bccf0441257cd803e36d75e34e55d9f.tar.gz
mediapointer-dvb-s2-8e43b1719bccf0441257cd803e36d75e34e55d9f.tar.bz2
If .myconfig is not found, make will do allmodconfig.
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/scripts')
-rwxr-xr-xv4l/scripts/make_makefile.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/v4l/scripts/make_makefile.pl b/v4l/scripts/make_makefile.pl
index 17ef048e7..116df3394 100755
--- a/v4l/scripts/make_makefile.pl
+++ b/v4l/scripts/make_makefile.pl
@@ -153,3 +153,11 @@ while ( my ($key, $value) = each(%depend) ) {
print OUT "# $key with $value refs\nconfig $key\n\ttristate\n\tdefault m\n\n";
}
close OUT;
+
+if (open OUT,".myconfig") {
+ close IN;
+} else {
+ system "make allmodconfig";
+}
+
+