1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-19 23:17:53 +01:00
openwrt/target/linux/amazon/Makefile
Florian Fainelli a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00

30 lines
727 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.30.10
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))