ar71xx: add a helper function for setting up ETH_CFG register on AR934x
[oweals/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