X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7a42d311275281c3c0e821cfd592d65bab253267..db1f43a9a0a7b0430a0f4e102d5505e3b43e28dc:/target/linux/amazon/Makefile?ds=inline diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index 826937a5f..e90fc4c8b 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,12 +18,10 @@ define Target/Description Build firmware images for Infineon Amazon boards endef -ifeq ($(KERNEL_PATCHVER),2.6.30) - define Kernel/Prepare +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 + 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))