X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/ceee90ffd2f7913e6b31789b53f52a3d94ecece3..7e07eef26e1fa257e28e9419b13fc9ddd76fed7f:/target/linux/amazon/Makefile diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index b8491c2fd..826937a5f 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.21.5 +LINUX_VERSION:=2.6.30.10 include $(INCLUDE_DIR)/target.mk @@ -18,6 +18,12 @@ define Target/Description Build firmware images for Infineon Amazon boards endef -KERNELNAME:="uImage" +ifeq ($(KERNEL_PATCHVER),2.6.30) + define Kernel/Prepare + $(call Kernel/Prepare/Default) + mv $(LINUX_DIR)/include/asm-mips/mach-amazon $(LINUX_DIR)/arch/mips/include/asm/mach-amazon + mv $(LINUX_DIR)/drivers/char/watchdog/amazon_wdt.c $(LINUX_DIR)/drivers/watchdog/amazon_wdt.c + endef +endif $(eval $(call BuildTarget))