Author: nbd Date: 2014-10-22 10:57:45 +0200 (Wed, 22 Oct 2014) New Revision: 43022
Modified: trunk/include/package-ipkg.mk trunk/package/kernel/linux/Makefile Log: kernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/include/package-ipkg.mk =================================================================== --- trunk/include/package-ipkg.mk 2014-10-22 08:57:40 UTC (rev 43021) +++ trunk/include/package-ipkg.mk 2014-10-22 08:57:45 UTC (rev 43022) @@ -9,7 +9,7 @@ # 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 @@ (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; \ ( \ Modified: trunk/package/kernel/linux/Makefile =================================================================== --- trunk/package/kernel/linux/Makefile 2014-10-22 08:57:40 UTC (rev 43021) +++ trunk/package/kernel/linux/Makefile 2014-10-22 08:57:45 UTC (rev 43022) @@ -17,6 +17,8 @@ PKG_LICENSE:=GPLv2 PKG_LICENSE_FILES:= +export SHELL:=/bin/sh + include $(INCLUDE_DIR)/package.mk STAMP_BUILT:=$(STAMP_BUILT)_$(firstword $(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | md5sum)) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
