From 2ee2679ac97098e9cf394ca4e78d2cc6ac5fad85 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 28 Nov 2009 22:17:37 +0000 Subject: Add kernel 2.6.30 support The device is booting and Ethernet is working, but nothing more was tested. SVN-Revision: 18589 --- target/linux/amazon/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/amazon/Makefile') diff --git a/target/linux/amazon/Makefile b/target/linux/amazon/Makefile index cca8a415fa..5a5fed598d 100644 --- a/target/linux/amazon/Makefile +++ b/target/linux/amazon/Makefile @@ -18,4 +18,12 @@ define Target/Description Build firmware images for Infineon Amazon boards endef +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)) -- cgit v1.2.3