scripts/metadata.pl: add support for generating profile make code for the image builder
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
@@ -112,6 +112,11 @@ sub parse_target_metadata($) {
|
||||
packages => []
|
||||
}
|
||||
];
|
||||
|
||||
$target->{sort} and @{$target->{profiles}} = sort {
|
||||
$a->{priority} <=> $b->{priority} or
|
||||
$a->{name} cmp $b->{name};
|
||||
} @{$target->{profiles}};
|
||||
}
|
||||
return @target;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user