summaryrefslogtreecommitdiffstats
path: root/openwrt/scripts/configtest.pl
blob: 01323a521111a943cfc8e9c5f94a45f1632a2144 (plain)
1
2
3
4
5
6
7
8
9
10
11
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});
}