toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+
[openwrt/openwrt.git] / toolchain / kernel-headers / Makefile
index 9427f82c7a81abde238d04093951e7270d813eef..d93a1230c8e306b042ac48d248207f02b344ac15 100644 (file)
@@ -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