summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-14 20:19:48 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-14 20:19:48 +0000
commit0979ae370d0611e68a29112fc38a58f5736e2d3a (patch)
treeb930afbe94ab91ec8e06d743e24ed200ab8afb71 /scripts
parent26dc068cf7fed88d0420638dbb7173d7795f1a11 (diff)
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 4d0d6b13e..10c6c2c0b 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