Add kernel 2.6.30 support

The device is booting and Ethernet is working, but nothing more was tested.

SVN-Revision: 18589
This commit is contained in:
Hauke Mehrtens
2009-11-28 22:17:37 +00:00
parent 9714c8b642
commit 2ee2679ac9
16 changed files with 585 additions and 0 deletions

View File

@@ -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))