aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commitc163347f4b237de68e0fc431ee35912ce416d96d (patch)
treecea1f4f4bb7a945a031d18ade277564b4fbbbe8d /include
parent5b13d0ebc8518e15c79315f91583903ed1c10917 (diff)
downloadupstream-c163347f4b237de68e0fc431ee35912ce416d96d.tar.gz
upstream-c163347f4b237de68e0fc431ee35912ce416d96d.tar.bz2
upstream-c163347f4b237de68e0fc431ee35912ce416d96d.zip
add support for hidden packages that get selected/built but do not show up in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27344 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 1695204b36..491e401f8c 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -42,6 +42,7 @@ define Package/Default
TITLE:=
KCONFIG:=
BUILDONLY:=
+ HIDDEN:=
URL:=
VARIANT:=
endef
diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk
index 3f7a83a979..a297f2336e 100644
--- a/include/package-dumpinfo.mk
+++ b/include/package-dumpinfo.mk
@@ -45,6 +45,7 @@ Source: $(PKG_SOURCE)
Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg))
$(if $(KCONFIG),Kernel-Config: $(KCONFIG)
)$(if $(BUILDONLY),Build-Only: $(BUILDONLY)
+)$(if $(HIDDEN),Hidden: $(HIDDEN)
)Description: $(if $(Package/$(1)/description),$(Package/$(1)/description),$(TITLE))
$(if $(URL),$(URL)
)$(MAINTAINER)