summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-21 14:27:45 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-07-21 14:27:45 +0000
commit8b0bcee75e4e1300cdcb7dbf0f60989f84e31cd2 (patch)
tree1ba85cb52ad8eed4b4b22bc73ffc028d787e2fb1 /include
parent5aa8ed59a978117d1ea238b5c77ea308f0a6fe66 (diff)
add submenu dependencies (used to hide the proprietary broadcom driver on anything except for brcm-2.4)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4197 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/package.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index 38fd93df73..757c8396ae 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -83,6 +83,7 @@ define Package/Default
DEFAULT:=
MENU:=
SUBMENU:=
+ SUBMENUDEP:=
TITLE:=
DESCRIPTION:=
endef
@@ -142,6 +143,10 @@ define BuildPackage
ifneq ($(SUBMENU),)
DUMPINFO += \
echo "Submenu: $(SUBMENU)";
+ ifneq ($(SUBMENUDEP),)
+ DUMPINFO += \
+ echo "Submenu-Depends: $(SUBMENUDEP)";
+ endif
endif
ifneq ($(DEFAULT),)