hostap: fix potential dependency issue, add missing AUTOLOAD
[openwrt.git] / scripts / gen_target_config.pl
index 4d0d6b1..10c6c2c 100755 (executable)
@@ -40,6 +40,7 @@ while (<>) {
                        board => $2,
                        kernel => $3
                };
                        board => $2,
                        kernel => $3
                };
+               $target->{kernel} =~ tr/\./_/;
                push @target, $target;
        };
        /^Target-Name:\s*(.+)\s*$/ and $target->{name} = $1;
                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}
 config LINUX_$target->{conf}
        bool "$target->{name}"
        select $target->{arch}
+       select LINUX_$target->{kernel}
 $features$help
 
 EOF
 $features$help
 
 EOF
This page took 0.018379 seconds and 4 git commands to generate.