summaryrefslogtreecommitdiffstats
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
commitbdfc3fb21373cca0e9865aa2ee04116ac91b57da (patch)
tree9a42f4b22ec7177abbfc8630c1b73364178df155 /scripts
parent72855b68de321014956868db93df26fce4aa5197 (diff)
downloadmaster-31e0f0ae-bdfc3fb21373cca0e9865aa2ee04116ac91b57da.tar.gz
master-31e0f0ae-bdfc3fb21373cca0e9865aa2ee04116ac91b57da.tar.bz2
master-31e0f0ae-bdfc3fb21373cca0e9865aa2ee04116ac91b57da.zip
reintroduce LINUX_2_4 and LINUX_2_6 as config variables
SVN-Revision: 5534
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