summaryrefslogtreecommitdiff
path: root/target/linux/amazon/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/amazon/Makefile')
-rw-r--r--target/linux/amazon/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile
index aae39a00e9..e90fc4c8bd 100644
--- a/target/linux/amazon/Makefile
+++ b/target/linux/amazon/Makefile
@@ -10,7 +10,7 @@ ARCH:=mips
BOARD:=amazon
BOARDNAME:=Infineon Amazon
FEATURES:=squashfs jffs2 broken
-LINUX_VERSION:=2.6.30.10
+LINUX_VERSION:=2.6.37.6
include $(INCLUDE_DIR)/target.mk
@@ -18,4 +18,10 @@ define Target/Description
Build firmware images for Infineon Amazon boards
endef
+define Kernel/Prepare
+ $(call Kernel/Prepare/Default)
+ mkdir -p $(LINUX_DIR)/arch/mips/include/asm/amazon
+ $(CP) $(LINUX_DIR)/include/asm-mips/amazon/*.h $(LINUX_DIR)/arch/mips/include/asm/amazon
+endef
+
$(eval $(call BuildTarget))