From 6b93231c4f64a61103dfc16acebedd18b4c25171 Mon Sep 17 00:00:00 2001 From: Mike Baker Date: Sun, 6 Mar 2005 03:34:52 +0000 Subject: nbd's makefile/menuconfig rewrite SVN-Revision: 307 --- openwrt/scripts/configtest.pl | 12 ++++++++++++ 1 file changed, 12 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 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}); +} -- cgit v1.1