From 8e43b1719bccf0441257cd803e36d75e34e55d9f Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sun, 9 Apr 2006 13:02:02 -0300 Subject: If .myconfig is not found, make will do allmodconfig. From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- v4l/scripts/make_makefile.pl | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'v4l/scripts') 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"; +} + + -- cgit v1.2.3