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>

SVN-Revision: 43460
v19.07.3_mercusys_ac12_duma
Jonas Gorski 10 years ago
parent 36063edf53
commit 100e2feb22

@ -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

Loading…
Cancel
Save