nbd's makefile/menuconfig rewrite
[openwrt/openwrt.git] / openwrt / scripts / configtest.pl
1 #!/usr/bin/perl
2
3 my %change = (
4 'BUSYBOX' => 'make -C package busybox-clean',
5 '' => 'make target_clean'
6 );
7
8 foreach my $change (keys %change) {
9 my $v1 = `grep '$change' .config.test`;
10 my $v2 = `grep '$change' .config`;
11 $v1 eq $v2 or system($change{$change});
12 }