]> git.enpas.org Git - openwrt.git/blobdiff - scripts/metadata.pl
AR71xx/9xxx based routers are the most common these days, select that as the default...
[openwrt.git] / scripts / metadata.pl
index d250a719788d95b5f0584fcdeb6875439296e886..7afc3889270158df98afbc88875f16081b5780ea 100755 (executable)
@@ -115,6 +115,7 @@ sub gen_kconfig_overrides() {
                                        $val = $2;
                                }
                                if ($config{"CONFIG_PACKAGE_$package"} and ($config ne 'n')) {
+                                       next if $kconfig{$config} eq 'y';
                                        $kconfig{$config} = $val;
                                } elsif (!$override) {
                                        $kconfig{$config} or $kconfig{$config} = 'n';
@@ -269,7 +270,7 @@ sub gen_target_config() {
        print <<EOF;
 choice
        prompt "Target System"
-       default TARGET_brcm47xx
+       default TARGET_ar71xx
        reset if !DEVEL
        
 EOF