mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 08:10:17 +02:00
4ac203ac44
The device is booting and Ethernet is working, but nothing more was tested. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18589 3c298f89-4303-0410-b956-a3cf2f4a3e73
30 lines
726 B
Makefile
30 lines
726 B
Makefile
#
|
|
# 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
|
|
LINUX_VERSION:=2.6.21.7
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
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))
|