adb: fix missing PKG_MIRROR_HASH
[openwrt/openwrt.git] / scripts / target-metadata.pl
index 2f045eb3798d67ab0badf8f93d56633d661dbc43..4e4bc73d9183905a7fcf3f4604efba9754848e1e 100755 (executable)
@@ -423,6 +423,9 @@ sub gen_profile_mk() {
                foreach my $profile (@{$cur->{profiles}}) {
                        print $profile->{id}.'_NAME:='.$profile->{name}."\n";
                        print $profile->{id}.'_HAS_IMAGE_METADATA:='.$profile->{has_image_metadata}."\n";
+                       if (@{$profile->{supported_devices}} > 0) {
+                               print $profile->{id}.'_SUPPORTED_DEVICES:='.join(' ', @{$profile->{supported_devices}})."\n";
+                       }
                        print $profile->{id}.'_PACKAGES:='.join(' ', @{$profile->{packages}})."\n";
                }
        }