aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/kernel-headers
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-12-01 13:27:06 +0000
committerJonas Gorski <jogo@openwrt.org>2014-12-01 13:27:06 +0000
commit2baa2619dc20d73534054f3d7438e52067f251d4 (patch)
treeee76848ddfd7dc76e342c1cf148a3eef37cbbecd /toolchain/kernel-headers
parentc7615f858c584d967342831b494c0e665ba01537 (diff)
downloadmaster-187ad058-2baa2619dc20d73534054f3d7438e52067f251d4.tar.gz
master-187ad058-2baa2619dc20d73534054f3d7438e52067f251d4.tar.bz2
master-187ad058-2baa2619dc20d73534054f3d7438e52067f251d4.zip
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
Diffstat (limited to 'toolchain/kernel-headers')
-rw-r--r--toolchain/kernel-headers/Makefile1
1 files changed, 1 insertions, 0 deletions
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