From 8df6a82752422fd9458d775b4350ff93b5683e79 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Apr 2011 02:07:59 +0000 Subject: [PATCH] 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 --- include/package-ipkg.mk | 2 ++ 1 file changed, 2 insertions(+) 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 :=( -- 2.30.2