2007-07-24 06:10:11 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
ARCH:=mips
|
|
|
|
BOARD:=amazon
|
|
|
|
BOARDNAME:=Infineon Amazon
|
|
|
|
FEATURES:=squashfs jffs2 broken
|
2009-12-04 22:52:45 +08:00
|
|
|
LINUX_VERSION:=2.6.30.10
|
2007-09-09 03:55:42 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
2007-07-24 06:10:11 +08:00
|
|
|
|
|
|
|
define Target/Description
|
|
|
|
Build firmware images for Infineon Amazon boards
|
|
|
|
endef
|
|
|
|
|
2009-11-29 06:17:37 +08:00
|
|
|
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
|
|
|
|
|
2007-09-09 03:55:42 +08:00
|
|
|
$(eval $(call BuildTarget))
|