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 | 14be67809466ef612e619b7d8b1e8df42b4e075b (patch) | |
tree | 016fc4de832be636e9af52b9bebfc45308c65194 /include/package-ipkg.mk | |
parent | 6e39367d4faefe4d03e91495f9a174019bd8ddab (diff) | |
download | upstream-14be67809466ef612e619b7d8b1e8df42b4e075b.tar.gz upstream-14be67809466ef612e619b7d8b1e8df42b4e075b.tar.bz2 upstream-14be67809466ef612e619b7d8b1e8df42b4e075b.zip |
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
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; \ |