X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/00853f9f7100e5e1df8eac8210fd455dc02bac7f..85c156c97d55956137974238386b0e5c17bfb64c:/toolchain/kernel-headers/Makefile diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 1f6e7a8ac..cb7ed491e 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -14,7 +14,6 @@ BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN) override QUILT:= include $(INCLUDE_DIR)/kernel.mk -include $(INCLUDE_DIR)/kernel-version.mk PKG_NAME:=linux PKG_VERSION:=$(LINUX_VERSION) @@ -29,7 +28,7 @@ include $(INCLUDE_DIR)/kernel-defaults.mk define Build/Prepare/cris mkdir -p $(BUILD_DIR_TOOLCHAIN) - bzcat $(DL_DIR)/$(PKG_SOURCE) | $(HOST_TAR) -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) + bzcat $(DL_DIR)/$(PKG_SOURCE) | $(HOST_TAR) -C $(BUILD_DIR_TOOLCHAIN) $(TAR_OPTIONS) $(PATCH) $(PKG_BUILD_DIR) $(TOPDIR)/target/linux/etrax-2.6/patches/generic_2.6 $(PATCH) $(PKG_BUILD_DIR) $(TOPDIR)/target/linux/etrax-2.6/patches/cris ln -sf arch-v10 $(PKG_BUILD_DIR)/include/asm-cris/arch