aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-11-14 20:19:48 +0000
committerMike Baker <mbm@openwrt.org>2006-11-14 20:19:48 +0000
commit684d9b41c9133d87b7ca92ece7398223f2567aab (patch)
treeb930afbe94ab91ec8e06d743e24ed200ab8afb71 /scripts
parent24f748ca463ac3b449f262d893bf358f272fc973 (diff)
downloadmaster-187ad058-684d9b41c9133d87b7ca92ece7398223f2567aab.tar.gz
master-187ad058-684d9b41c9133d87b7ca92ece7398223f2567aab.tar.bz2
master-187ad058-684d9b41c9133d87b7ca92ece7398223f2567aab.zip
reintroduce LINUX_2_4 and LINUX_2_6 as config variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5534 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen_target_config.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/gen_target_config.pl b/scripts/gen_target_config.pl
index 4d0d6b13ef..10c6c2c0b2 100755
--- a/scripts/gen_target_config.pl
+++ b/scripts/gen_target_config.pl
@@ -40,6 +40,7 @@ while (<>) {
board => $2,
kernel => $3
};
+ $target->{kernel} =~ tr/\./_/;
push @target, $target;
};
/^Target-Name:\s*(.+)\s*$/ and $target->{name} = $1;
@@ -107,6 +108,7 @@ foreach $target (@target) {
config LINUX_$target->{conf}
bool "$target->{name}"
select $target->{arch}
+ select LINUX_$target->{kernel}
$features$help
EOF