diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-14 20:19:48 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-11-14 20:19:48 +0000 |
commit | 0979ae370d0611e68a29112fc38a58f5736e2d3a (patch) | |
tree | b930afbe94ab91ec8e06d743e24ed200ab8afb71 /scripts | |
parent | 26dc068cf7fed88d0420638dbb7173d7795f1a11 (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-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 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 |