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 4d0d6b13ef45e0f959a469ff40c2ef9b5391298d..10c6c2c0b2d8dbf9a58039a3d99a8c5f1bc580fe 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