diff options
author | Mike Baker <mbm@openwrt.org> | 2005-03-06 03:34:52 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2005-03-06 03:34:52 +0000 |
commit | 6b93231c4f64a61103dfc16acebedd18b4c25171 (patch) | |
tree | aad933069e7dedf29eb70dbfd81e9ca95d9b578f /openwrt/scripts/configtest.pl | |
parent | 14e0fec336fca0766605968fe9dd7eef2448736f (diff) | |
download | mtk-20170518-6b93231c4f64a61103dfc16acebedd18b4c25171.zip mtk-20170518-6b93231c4f64a61103dfc16acebedd18b4c25171.tar.gz mtk-20170518-6b93231c4f64a61103dfc16acebedd18b4c25171.tar.bz2 |
nbd's makefile/menuconfig rewrite
SVN-Revision: 307
Diffstat (limited to 'openwrt/scripts/configtest.pl')
-rwxr-xr-x | openwrt/scripts/configtest.pl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/scripts/configtest.pl b/openwrt/scripts/configtest.pl new file mode 100755 index 0000000..01323a5 --- /dev/null +++ b/openwrt/scripts/configtest.pl @@ -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}); +} |