X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=scripts%2Fgen_target_config.pl;h=10c6c2c0b2d8dbf9a58039a3d99a8c5f1bc580fe;hb=a1cf766955e488e6904dc9a5def1db64bfa60a44;hp=4d0d6b13ef45e0f959a469ff40c2ef9b5391298d;hpb=5be70dfb578c8793084aa8b4526fad08d68a6155;p=openwrt-10.03%2F.git 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