summaryrefslogtreecommitdiff
path: root/scripts/metadata.pm
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-13 02:02:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-13 02:02:56 +0000
commit7502d4bd61ff9a45948505ea56b4a57c7099721c (patch)
treebea62441b0a2e2456b884c6f358eaafcbbb93357 /scripts/metadata.pm
parent9b6691733e6c0f840ffaa83fe8fca5a026210e84 (diff)
downloadmtk-20170518-7502d4bd61ff9a45948505ea56b4a57c7099721c.zip
mtk-20170518-7502d4bd61ff9a45948505ea56b4a57c7099721c.tar.gz
mtk-20170518-7502d4bd61ff9a45948505ea56b4a57c7099721c.tar.bz2
add support for build-only packages which do not appear in menuconfig
SVN-Revision: 14009
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 a527d68..9486c66 100644
--- a/scripts/metadata.pm
+++ b/scripts/metadata.pm
@@ -88,6 +88,7 @@ sub parse_package_metadata($) {
}
};
/^Depends: \s*(.+)\s*$/ and $pkg->{depends} = [ split /\s+/, $1 ];
+ /^Build-Only: \s*(.+)\s*$/ and $pkg->{buildonly} = 1;
/^Build-Depends: \s*(.+)\s*$/ and $pkg->{builddepends} = [ split /\s+/, $1 ];
/^Category: \s*(.+)\s*$/ and do {
$pkg->{category} = $1;