reintroduce LINUX_2_4 and LINUX_2_6 as config variables
authorMike Baker <mbm@openwrt.org>
Tue, 14 Nov 2006 20:19:48 +0000 (20:19 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 14 Nov 2006 20:19:48 +0000 (20:19 +0000)
SVN-Revision: 5534

scripts/gen_target_config.pl

index 4d0d6b1..10c6c2c 100755 (executable)
@@ -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