diff options
author | Mike Baker <mbm@openwrt.org> | 2006-11-14 20:19:48 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-11-14 20:19:48 +0000 |
commit | 684d9b41c9133d87b7ca92ece7398223f2567aab (patch) | |
tree | b930afbe94ab91ec8e06d743e24ed200ab8afb71 /scripts | |
parent | 24f748ca463ac3b449f262d893bf358f272fc973 (diff) | |
download | upstream-684d9b41c9133d87b7ca92ece7398223f2567aab.tar.gz upstream-684d9b41c9133d87b7ca92ece7398223f2567aab.tar.bz2 upstream-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-x | scripts/gen_target_config.pl | 2 |
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 |