Revert "uhttpd: disable concurrent requests by default"
[openwrt/staging/xback.git] / scripts / target-metadata.pl
index ef0a34eb4ffae2fe9b8b50d6b4295600eee6f2f3..123958799fe3fc0ca34192f175bccd92622c96a9 100755 (executable)
@@ -170,7 +170,7 @@ EOF
        print <<EOF;
 choice
        prompt "Target System"
-       default TARGET_ar71xx
+       default TARGET_ath79
        reset if !DEVEL
        
 EOF
@@ -422,6 +422,10 @@ sub gen_profile_mk() {
                print "PROFILE_NAMES = ".join(" ", map { $_->{id} } @{$cur->{profiles}})."\n";
                foreach my $profile (@{$cur->{profiles}}) {
                        print $profile->{id}.'_NAME:='.$profile->{name}."\n";
+                       print $profile->{id}.'_HAS_IMAGE_METADATA:='.$profile->{has_image_metadata}."\n";
+                       if (defined($profile->{supported_devices}) and @{$profile->{supported_devices}} > 0) {
+                               print $profile->{id}.'_SUPPORTED_DEVICES:='.join(' ', @{$profile->{supported_devices}})."\n";
+                       }
                        print $profile->{id}.'_PACKAGES:='.join(' ', @{$profile->{packages}})."\n";
                }
        }