diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-04 19:52:18 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-13 19:54:43 +0100 |
commit | 19577582e437dcff50c97c5c19726b12f7b3a5ac (patch) | |
tree | 1702de1680de4d4da9501d9f76c075a80821af19 /scripts/package-metadata.pl | |
parent | 1a2b5eb7ac6bce10fe9afa941db6ee5001ce80e3 (diff) | |
download | mtk-20170518-19577582e437dcff50c97c5c19726b12f7b3a5ac.zip mtk-20170518-19577582e437dcff50c97c5c19726b12f7b3a5ac.tar.gz mtk-20170518-19577582e437dcff50c97c5c19726b12f7b3a5ac.tar.bz2 |
metadata: make srcpackage extensible
Turn the srcpackage values into hashes to allow storing more information
than just binary package names.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'scripts/package-metadata.pl')
-rwxr-xr-x | scripts/package-metadata.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/package-metadata.pl b/scripts/package-metadata.pl index 46446e9..f03547a 100755 --- a/scripts/package-metadata.pl +++ b/scripts/package-metadata.pl @@ -445,7 +445,7 @@ sub gen_package_mk() { print "buildtypes-$pkg->{subdir}$pkg->{src} = ".join(' ', @{$pkg->{buildtypes}})."\n"; } - foreach my $spkg (@{$srcpackage{$pkg->{src}}}) { + foreach my $spkg (@{$srcpackage{$pkg->{src}}{packages}}) { foreach my $dep (@{$spkg->{depends}}, @{$spkg->{builddepends}}) { $dep =~ /@/ or do { $dep =~ s/\+//g; |