diff options
author | Felix Fietkau <nbd@nbd.name> | 2016-05-22 22:02:31 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2016-06-07 08:58:40 +0200 |
commit | f8ebbbc568c166e59f1302e0abb817060313fd9d (patch) | |
tree | c8b4ee2d13dac0da5023c19e6eb6da4dfb564057 /scripts/metadata.pm | |
parent | 9ae952cf8cf2f0d7df95434c8b16d13bc1b47fca (diff) | |
download | upstream-f8ebbbc568c166e59f1302e0abb817060313fd9d.tar.gz upstream-f8ebbbc568c166e59f1302e0abb817060313fd9d.tar.bz2 upstream-f8ebbbc568c166e59f1302e0abb817060313fd9d.zip |
build: implement support for selecting multiple device profiles
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/metadata.pm')
-rw-r--r-- | scripts/metadata.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pm b/scripts/metadata.pm index b3f34f79e9..c7f8532b54 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -87,6 +87,7 @@ sub parse_target_metadata($) { priority => 999, packages => [] }; + $1 =~ /^DEVICE_/ and $target->{has_devices} = 1; push @{$target->{profiles}}, $profile; }; /^Target-Profile-Name:\s*(.+)\s*$/ and $profile->{name} = $1; |