Author: jogo
Date: 2014-12-01 14:27:06 +0100 (Mon, 01 Dec 2014)
New Revision: 43460

Modified:
   trunk/toolchain/kernel-headers/Makefile
Log:
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 <[email protected]>

Modified: trunk/toolchain/kernel-headers/Makefile
===================================================================
--- trunk/toolchain/kernel-headers/Makefile     2014-12-01 12:40:06 UTC (rev 
43459)
+++ trunk/toolchain/kernel-headers/Makefile     2014-12-01 13:27:06 UTC (rev 
43460)
@@ -57,6 +57,7 @@
        $(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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to