From: Felix Fietkau Date: Sun, 3 Apr 2011 02:15:56 +0000 (+0000) Subject: build: do not use shell calls to export empty opkg control files, speeds up package... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d789857b41aceab765850c5400eeab20cfcfe36e;p=openwrt%2Fsvn-archive%2Farchive.git build: do not use shell calls to export empty opkg control files, speeds up package build and fixes some "Argument list too long" errors (backport of r26431) SVN-Revision: 26433 --- diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 85f5c7c266..0dd398e1ba 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 += var2file "$(call shvar,Package/$(1)/$(2))" $(2); +endif endef PARENL :=(