Add xz compressed packages to known extensions of dl_cleanup
[openwrt/openwrt.git] / scripts / metadata.pl
index bd6dbc54ac02b9ba1fb379c51deae64418228346..b04cd8cc3d943c470a952b7bce79b42d9b36caef 100755 (executable)
@@ -233,6 +233,7 @@ EOF
        }
        if (@{$target->{subtargets}} > 0) {
                $confstr .= "\tselect HAS_SUBTARGETS\n";
+               grep { /broken/ } @{$target->{features}} and $confstr .= "\tdepends BROKEN\n";
        } else {
                $confstr .= $features;
        }
@@ -270,7 +271,7 @@ sub gen_target_config() {
        print <<EOF;
 choice
        prompt "Target System"
-       default TARGET_brcm47xx
+       default TARGET_ar71xx
        reset if !DEVEL
        
 EOF