diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-23 21:50:10 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-02-23 21:50:10 +0000 |
commit | d2b94be30cae972e5bd43f530e7d9fb44c5173d0 (patch) | |
tree | fa2b49bc98a06fbd53fbff73087275913ab8cd1f /openwrt/scripts/configtest.pl | |
parent | 4f38ebd722dcd0633d2136b711eff7aa393ecec5 (diff) |
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@290 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/scripts/configtest.pl')
-rwxr-xr-x | openwrt/scripts/configtest.pl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/scripts/configtest.pl b/openwrt/scripts/configtest.pl new file mode 100755 index 0000000000..61fe8a7b62 --- /dev/null +++ b/openwrt/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}); +} |