kernel: use /bin/sh instead of bash to speed up processing of many kmod-* packages

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 43022
This commit is contained in:
Felix Fietkau 2014-10-22 08:57:45 +00:00
parent c497990834
commit d8278dee4d
2 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@ include $(INCLUDE_DIR)/feeds.mk
# invoke ipkg-build with some default options # invoke ipkg-build with some default options
IPKG_BUILD:= \ 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 IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg
@ -185,7 +185,7 @@ $(_endef)
(cd $$(IDIR_$(1))/CONTROL; \ (cd $$(IDIR_$(1))/CONTROL; \
( \ ( \
echo "$$$$CONTROL"; \ echo "$$$$CONTROL"; \
echo -n "Description: "; echo "$$$$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; \ printf "Description: "; echo "$$$$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; \
) > control; \ ) > control; \
chmod 644 control; \ chmod 644 control; \
( \ ( \

View file

@ -17,6 +17,8 @@ SCAN_DEPS=modules/*.mk $(TOPDIR)/target/linux/*/modules.mk
PKG_LICENSE:=GPLv2 PKG_LICENSE:=GPLv2
PKG_LICENSE_FILES:= PKG_LICENSE_FILES:=
export SHELL:=/bin/sh
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
STAMP_BUILT:=$(STAMP_BUILT)_$(firstword $(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | md5sum)) STAMP_BUILT:=$(STAMP_BUILT)_$(firstword $(shell $(SCRIPT_DIR)/kconfig.pl $(LINUX_DIR)/.config | md5sum))