aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pm
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-02 06:49:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-02 06:49:09 +0000
commitbcf4757508f03f7b3e0c5b3b2d15627dbacbd4bd (patch)
tree853ef5de5bda45931420971b00a6843de62568ae /scripts/metadata.pm
parent701543d3efead0050eafb9f8f2626f3dc9260c63 (diff)
downloadupstream-bcf4757508f03f7b3e0c5b3b2d15627dbacbd4bd.tar.gz
upstream-bcf4757508f03f7b3e0c5b3b2d15627dbacbd4bd.tar.bz2
upstream-bcf4757508f03f7b3e0c5b3b2d15627dbacbd4bd.zip
add support for hidden packages that get selected/built but do not show up in menuconfig
SVN-Revision: 27344
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 6d544c8833..5efef46924 100644
--- a/scripts/metadata.pm
+++ b/scripts/metadata.pm
@@ -114,6 +114,7 @@ sub parse_package_metadata($) {
};
/^Menu-Depends: \s*(.+)\s*$/ and $pkg->{mdepends} = [ split /\s+/, $1 ];
/^Depends: \s*(.+)\s*$/ and $pkg->{depends} = [ split /\s+/, $1 ];
+ /^Hidden: \s*(.+)\s*$/ and $pkg->{hidden} = 1;
/^Build-Variant: \s*([\w\-]+)\s*/ and $pkg->{variant} = $1;
/^Build-Only: \s*(.+)\s*$/ and $pkg->{buildonly} = 1;
/^Build-Depends: \s*(.+)\s*$/ and $pkg->{builddepends} = [ split /\s+/, $1 ];