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 <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43460 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jogo 2014-12-01 13:27:06 +00:00
parent 1f88b45d61
commit 2408c602cc

View file

@ -57,6 +57,7 @@ ifneq ($(CONFIG_mips)$(CONFIG_mipsel),)
$(CP) \ $(CP) \
$(HOST_BUILD_DIR)/arch/mips/include/asm/asm.h \ $(HOST_BUILD_DIR)/arch/mips/include/asm/asm.h \
$(HOST_BUILD_DIR)/arch/mips/include/asm/regdef.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/ $(BUILD_DIR_TOOLCHAIN)/linux-dev/include/asm/
endef endef
endif endif