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
This commit is contained in:
Felix Fietkau
2006-07-21 14:27:45 +00:00
parent 39fc421919
commit 510cb8aca9
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),)