From: Jonas Gorski Date: Mon, 1 Dec 2014 13:27:06 +0000 (+0000) Subject: toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+ X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=100e2feb22e6f51584dcc06812c2cdf9dc9fb52c;p=librecmc%2Flibrecmc.git toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+ Kernel 3.15's asm.h includes eva-asm.h, so copy it also, else lzma-loader won't compile due to a missing include. Signed-off-by: Jonas Gorski SVN-Revision: 43460 --- diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile index 9427f82c7a..d93a1230c8 100644 --- a/toolchain/kernel-headers/Makefile +++ b/toolchain/kernel-headers/Makefile @@ -57,6 +57,7 @@ ifneq ($(CONFIG_mips)$(CONFIG_mipsel),) $(CP) \ $(HOST_BUILD_DIR)/arch/mips/include/asm/asm.h \ $(HOST_BUILD_DIR)/arch/mips/include/asm/regdef.h \ + $(if $(call kernel_patchver_ge,3.15.0),$(HOST_BUILD_DIR)/arch/mips/include/asm/asm-eva.h) \ $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/ endef endif