From d2b94be30cae972e5bd43f530e7d9fb44c5173d0 Mon Sep 17 00:00:00 2001 From: wbx Date: Wed, 23 Feb 2005 21:50:10 +0000 Subject: I do not believe that users will cleanup kernelsource, when switching rootfs. force it with scripts and Makefile changes from Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@290 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/scripts/configtest.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 openwrt/scripts/configtest.pl (limited to 'openwrt/scripts/configtest.pl') diff --git a/openwrt/scripts/configtest.pl b/openwrt/scripts/configtest.pl new file mode 100755 index 000000000..61fe8a7b6 --- /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}); +} -- cgit v1.2.3