diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-08-19 12:49:37 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2010-08-19 12:49:37 +0000 |
commit | a9136c0892fa5fa1627c2502d309eeb8cda187f8 (patch) | |
tree | 626476203a2fc0de4f74dd79615b0f30a850401c /include/package-ipkg.mk | |
parent | caf173f8693cb0ec6a4bf9755caa01482c01f92b (diff) | |
download | upstream-a9136c0892fa5fa1627c2502d309eeb8cda187f8.tar.gz upstream-a9136c0892fa5fa1627c2502d309eeb8cda187f8.tar.bz2 upstream-a9136c0892fa5fa1627c2502d309eeb8cda187f8.zip |
speed up the build system by including include/shell.sh on shell commands only where necessary
SVN-Revision: 22720
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r-- | include/package-ipkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 87b142aa59..82fc209c5b 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; \ |