diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-06 17:12:03 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2018-01-13 19:54:44 +0100 |
commit | 47f292ff7823e9d844e946d221f5708bf51b15fd (patch) | |
tree | ff01f29b0e062b521ddfa603b0a5fc983841d675 /scripts/metadata.pm | |
parent | b2ab9c9d3360160c99ae4f396edb870b6884a995 (diff) | |
download | upstream-47f292ff7823e9d844e946d221f5708bf51b15fd.tar.gz upstream-47f292ff7823e9d844e946d221f5708bf51b15fd.tar.bz2 upstream-47f292ff7823e9d844e946d221f5708bf51b15fd.zip |
metadata: interate over source packages when generating Makefile
All build dependencies are between source packages. Interating over source
rather than binary packages simplifies parts of the code and prepares
further improvement.
As a side effect, this changes the implicit default variant of a few
packages (the first defined is used now instead of the lexicographically
first).
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
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 8cc7530a1d..9d6f3216d1 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -213,6 +213,7 @@ sub parse_package_metadata($) { $subdir =~ s/^package\///; $subdir{$src} = $subdir; $srcpackage{$src} = { + makefile => $makefile, packages => [], buildtypes => [], builddepends => [], |