IB: include SUPPORTED_DEVICES in 'make info' output

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle
2019-03-11 05:32:29 +01:00
parent 35a7f79096
commit d6fa04a437
4 changed files with 9 additions and 2 deletions

View File

@@ -140,6 +140,7 @@ sub parse_target_metadata($) {
id => $1,
name => $1,
has_image_metadata => 0,
supported_devices => [],
priority => 999,
packages => []
};
@@ -148,6 +149,7 @@ sub parse_target_metadata($) {
};
/^Target-Profile-Name:\s*(.+)\s*$/ and $profile->{name} = $1;
/^Target-Profile-hasImageMetadata:\s*(\d+)\s*$/ and $profile->{has_image_metadata} = $1;
/^Target-Profile-SupportedDevices:\s*(.+)\s*$/ and $profile->{supported_devices} = [ split(/\s+/, $1) ];
/^Target-Profile-Priority:\s*(\d+)\s*$/ and do {
$profile->{priority} = $1;
$target->{sort} = 1;