summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-05 19:03:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-05 19:03:51 +0000
commit459762ace28f9685f40e68aab0fa66a4d84ecc6c (patch)
tree3e3604ccd591435bbbf6086e8b4466da6f63165f /include
parent980190367c7c4c05bb006b7deb7d9135d2b781e1 (diff)
downloadmtk-20170518-459762ace28f9685f40e68aab0fa66a4d84ecc6c.zip
mtk-20170518-459762ace28f9685f40e68aab0fa66a4d84ecc6c.tar.gz
mtk-20170518-459762ace28f9685f40e68aab0fa66a4d84ecc6c.tar.bz2
add a new package metadata variable MDEPENDS for specifying local menuconfig dependencies that do not propagate to other packages
SVN-Revision: 26491
Diffstat (limited to 'include')
-rw-r--r--include/package-defaults.mk1
-rw-r--r--include/package-dumpinfo.mk1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/package-defaults.mk b/include/package-defaults.mk
index 1d29119..1695204 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -10,6 +10,7 @@ define Package/Default
SECTION:=opt
CATEGORY:=Extra packages
DEPENDS:=
+ MDEPENDS:=
PROVIDES:=
EXTRA_DEPENDS:=
MAINTAINER:=OpenWrt Developers Team <openwrt-devel@openwrt.org>
diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk
index 34196e4..3f7a83a 100644
--- a/include/package-dumpinfo.mk
+++ b/include/package-dumpinfo.mk
@@ -31,6 +31,7 @@ $(if $(MENU),Menu: $(MENU)
)$(if $(findstring $(PREREQ_CHECK),1),Prereq-Check: 1
)Version: $(VERSION)
Depends: $(DEPENDS)
+Menu-Depends: $(MDEPENDS)
Provides: $(PROVIDES)
$(if $(VARIANT),Build-Variant: $(VARIANT)
)$(if $(PKG_BUILD_DEPENDS),Build-Depends: $(PKG_BUILD_DEPENDS)