From 37b9bb7ce2cf4ba218bb726180ccba01adb2d88f Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 19 Aug 2010 12:49:37 +0000 Subject: speed up the build system by including include/shell.sh on shell commands only where necessary git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22720 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/package-ipkg.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/package-ipkg.mk') diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 87b142aa5..82fc209c5 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -21,7 +21,7 @@ IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg define BuildIPKGVariable $(call shexport,Package/$(1)/$(2)) - $(1)_COMMANDS += var2file "$(call shvar,Package/$(1)/$(2))" $(2); + $(1)_COMMANDS += $(SH_FUNC) var2file "$(call shvar,Package/$(1)/$(2))" $(2); endef PARENL :=( @@ -95,7 +95,7 @@ ifeq ($(DUMP),) echo "Maintainer: $(MAINTAINER)"; \ echo "Architecture: $(PKGARCH)"; \ echo "Installed-Size: 1"; \ - echo -n "Description: "; getvar $(call shvar,Package/$(1)/description) | sed -e 's,^[[:space:]]*, ,g'; \ + echo -n "Description: "; $(SH_FUNC) getvar $(call shvar,Package/$(1)/description) | sed -e 's,^[[:space:]]*, ,g'; \ ) >> $$(IDIR_$(1))/CONTROL/control chmod 644 $$(IDIR_$(1))/CONTROL/control (cd $$(IDIR_$(1))/CONTROL; \ -- cgit v1.2.3