aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-18 12:43:06 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-19 14:32:01 +0100
commite3d5b384aa67c5562d59e8745fc6c48a9f2a997d (patch)
tree3aeaea3536e225f2a0986e1311ce07581fd78e80 /scripts/metadata.pm
parent2d9d57b9de230e1f397c1396f4fb7dfae34d3855 (diff)
downloadupstream-e3d5b384aa67c5562d59e8745fc6c48a9f2a997d.tar.gz
upstream-e3d5b384aa67c5562d59e8745fc6c48a9f2a997d.tar.bz2
upstream-e3d5b384aa67c5562d59e8745fc6c48a9f2a997d.zip
build: expose ABI version in .packageauxvars
Subdequent commits need this information to resolve the ABI version when computing binary ipk dependencies. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'scripts/metadata.pm')
-rw-r--r--scripts/metadata.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pm b/scripts/metadata.pm
index 4a5464edc0..5300e293e7 100644
--- a/scripts/metadata.pm
+++ b/scripts/metadata.pm
@@ -238,6 +238,7 @@ sub parse_package_metadata($) {
/^Build-Types:\s*(.+)\s*$/ and $src->{buildtypes} = [ split /\s+/, $1 ];
next unless $pkg;
/^Version: \s*(.+)\s*$/ and $pkg->{version} = $1;
+ /^ABIVersion: \s*(.+)\s*$/ and $pkg->{abiversion} = $1;
/^Title: \s*(.+)\s*$/ and $pkg->{title} = $1;
/^Menu: \s*(.+)\s*$/ and $pkg->{menu} = $1;
/^Submenu: \s*(.+)\s*$/ and $pkg->{submenu} = $1;