7f27b55d35672b75f92f40bb947d20753d35af15
[openwrt-10.03/.git] / target / linux / ifxmips / Makefile
1 #
2 # Copyright (C) 2007-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=mips
10 BOARD:=ifxmips
11 BOARDNAME:=Infineon Mips
12 FEATURES:=squashfs jffs2 atm
13
14 LINUX_VERSION:=2.6.30.5
15
16 include $(INCLUDE_DIR)/target.mk
17 DEFAULT_PACKAGES+=uboot-ifxmips kmod-pppoa ppp-mod-pppoa linux-atm atm-tools br2684ctl kmod-ifxmips-atm dwc_usb
18
19
20 define Target/Description
21         Build firmware images for Infineon Mips Controllers
22 endef
23
24 ifeq ($(KERNEL_PATCHVER),2.6.28)
25   define Kernel/Prepare
26         $(call Kernel/Prepare/Default)
27         mv $(LINUX_DIR)/include/asm-mips/* $(LINUX_DIR)/arch/mips/include/asm/
28   endef
29 endif
30
31 $(eval $(call BuildTarget))