diff options
-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 |