mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
nbd's makefile/menuconfig rewrite
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@307 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
12
openwrt/scripts/configtest.pl
Executable file
12
openwrt/scripts/configtest.pl
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
my %change = (
|
||||
'BUSYBOX' => 'make -C package busybox-clean',
|
||||
'' => 'make target_clean'
|
||||
);
|
||||
|
||||
foreach my $change (keys %change) {
|
||||
my $v1 = `grep '$change' .config.test`;
|
||||
my $v2 = `grep '$change' .config`;
|
||||
$v1 eq $v2 or system($change{$change});
|
||||
}
|
||||
Reference in New Issue
Block a user