diff options
author | Waldemar Brodkorb <wbx@openwrt.org> | 2005-02-23 21:50:10 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openwrt.org> | 2005-02-23 21:50:10 +0000 |
commit | 6d1f6eb747c2971d81f1f2cf4b7f268491023d7e (patch) | |
tree | 8f61b47b0b29fddcbe428f40731f1d4560d98c52 /scripts/configtest.pl | |
parent | aad91401670fff434f133b44e36b7462cd792ad7 (diff) | |
download | upstream-6d1f6eb747c2971d81f1f2cf4b7f268491023d7e.tar.gz upstream-6d1f6eb747c2971d81f1f2cf4b7f268491023d7e.tar.bz2 upstream-6d1f6eb747c2971d81f1f2cf4b7f268491023d7e.zip |
I do not believe that users will cleanup kernelsource, when switching
rootfs. force it with scripts and Makefile changes from Felix Fietkau <nbd@vd-s.ath.cx>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/configtest.pl')
-rwxr-xr-x | scripts/configtest.pl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/configtest.pl b/scripts/configtest.pl new file mode 100755 index 0000000000..61fe8a7b62 --- /dev/null +++ b/scripts/configtest.pl @@ -0,0 +1,11 @@ +#!/usr/bin/perl + +my %change = ( + 'ROOTFS' => 'make linux-dirclean' +); + +foreach my $change (keys %change) { + my $v1 = `grep '$change' .config.test`; + my $v2 = `grep '$change' .config`; + $v1 eq $v2 or system($change{$change}); +} |