From d8278dee4db4f9267be75fd56aa7187d062106bd Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 22 Oct 2014 08:57:45 +0000 Subject: kernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages Signed-off-by: Felix Fietkau SVN-Revision: 43022 --- 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 e3bfe6b..b8c8cd6 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/feeds.mk # invoke ipkg-build with some default options IPKG_BUILD:= \ - ipkg-build -c -o 0 -g 0 + $(STAGING_DIR_HOST)/bin/ipkg-build -c -o 0 -g 0 IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg @@ -185,7 +185,7 @@ $(_endef) (cd $$(IDIR_$(1))/CONTROL; \ ( \ echo "$$$$CONTROL"; \ - echo -n "Description: "; echo "$$$$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; \ + printf "Description: "; echo "$$$$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; \ ) > control; \ chmod 644 control; \ ( \ -- cgit v1.1