aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-01-13 02:02:56 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-01-13 02:02:56 +0000
commit042d715f2b8d9e2dc86e5367e6796fc5bdef0b8e (patch)
tree492c64e722d8f793eb8a9437baaa3ceed497d48b /include
parent9950f248701c89ce2e21e6716b9a290d2d3d4664 (diff)
downloadupstream-042d715f2b8d9e2dc86e5367e6796fc5bdef0b8e.tar.gz
upstream-042d715f2b8d9e2dc86e5367e6796fc5bdef0b8e.tar.bz2
upstream-042d715f2b8d9e2dc86e5367e6796fc5bdef0b8e.zip
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)";) \