-e 's/armeb/arm/' \
)
+
define Build/Prepare
mkdir -p $(TOOLCHAIN_BUILD_DIR)
- bzcat $(DL_DIR)/$(PKG_SOURCE) | tar --wildcards -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) - \
+ bzcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) --wildcards -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) \
linux-$(PKG_VERSION)/include \
linux-$(PKG_VERSION)/Makefile \
linux-$(PKG_VERSION)/Rules.make \
define Build/Configure
-$(CP) ./files/config.$(LINUX_KARCH) $(PKG_BUILD_DIR)/.config
- $(MAKE) -C $(PKG_BUILD_DIR) ARCH=$(LINUX_KARCH) oldconfig include/linux/version.h
+ $(MAKE) -C $(PKG_BUILD_DIR) \
+ ARCH=$(LINUX_KARCH) \
+ CONFIG_SHELL=$(shell which bash) \
+ oldconfig include/linux/version.h
endef
define Build/Compile