summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-13 02:02:56 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-01-13 02:02:56 +0000
commitd1a6e09c1b863a738c371caf126f42b19b2baf0b (patch)
tree492c64e722d8f793eb8a9437baaa3ceed497d48b /include
parente5f989a56ab4879bf526b01ec3e979ab4b904a91 (diff)
add support for build-only packages which do not appear in menuconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14009 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 99371a2241..e0cb6e8995 100644
--- a/include/package-defaults.mk
+++ b/include/package-defaults.mk
@@ -31,6 +31,7 @@ define Package/Default
SUBMENUDEP:=
TITLE:=
KCONFIG:=
+ BUILDONLY:=
endef
Build/Patch:=$(Build/Patch/Default)
diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk
index e29e113241..6f1624aeb1 100644
--- a/include/package-dumpinfo.mk
+++ b/include/package-dumpinfo.mk
@@ -30,6 +30,7 @@ ifneq ($(DUMP),)
echo "Maintainer: $(MAINTAINER)"; \
echo "Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg))"; \
$(if $(KCONFIG),echo "Kernel-Config: $(KCONFIG)";) \
+ $(if $(BUILDONLY),echo "Build-Only: $(BUILDONLY)";) \
echo -n "Description: "; \
getvar $(call shvar,Package/$(1)/description); \
$(if $(URL),echo;echo "$(URL)";) \