diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-03-11 05:32:29 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-03-11 05:32:29 +0100 |
commit | d6fa04a437033d4bdfa1b0d90a4786bfe492f749 (patch) | |
tree | cc32815bed467b89f1638f8f7cec6e7f934e01ac /scripts/target-metadata.pl | |
parent | 35a7f790967de6d887bed8d506c11ebb98da65d3 (diff) | |
download | upstream-d6fa04a437033d4bdfa1b0d90a4786bfe492f749.tar.gz upstream-d6fa04a437033d4bdfa1b0d90a4786bfe492f749.tar.bz2 upstream-d6fa04a437033d4bdfa1b0d90a4786bfe492f749.zip |
IB: include SUPPORTED_DEVICES in 'make info' output
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'scripts/target-metadata.pl')
-rwxr-xr-x | scripts/target-metadata.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/target-metadata.pl b/scripts/target-metadata.pl index 2f045eb379..4e4bc73d91 100755 --- a/scripts/target-metadata.pl +++ b/scripts/target-metadata.pl @@ -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"; } } |