aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-04-03 02:07:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-04-03 02:07:59 +0000
commitf6a0d67e7ce9e9b95d8576c8f494418a75de7f1c (patch)
treee161b90c42c1ed9df6904db2fa8ccd1e11fde3fd /include/package-ipkg.mk
parent4717461455c4ec396fafbc1e22d35279d547675f (diff)
downloadupstream-f6a0d67e7ce9e9b95d8576c8f494418a75de7f1c.tar.gz
upstream-f6a0d67e7ce9e9b95d8576c8f494418a75de7f1c.tar.bz2
upstream-f6a0d67e7ce9e9b95d8576c8f494418a75de7f1c.zip
build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors Patch by Thomas Langer from #8450
SVN-Revision: 26431
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r--include/package-ipkg.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 2360ac4d4e..9cccff261a 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -28,8 +28,10 @@ IPKG_BUILD:= \
IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg
define BuildIPKGVariable
+ifdef Package/$(1)/$(2)
$(call shexport,Package/$(1)/$(2))
$(1)_COMMANDS += $(SH_FUNC) var2file "$(call shvar,Package/$(1)/$(2))" $(2);
+endif
endef
PARENL :=(