add submenu dependencies (used to hide the proprietary broadcom driver on anything except for brcm-2.4)

SVN-Revision: 4197
This commit is contained in:
Felix Fietkau
2006-07-21 14:27:45 +00:00
parent 3d2752f8b9
commit 4d2f748fd2
3 changed files with 13 additions and 0 deletions

View File

@@ -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),)