move kernel support to 2.6.28.7
[openwrt/staging/wigyori.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
13
14 LINUX_VERSION:=2.6.28.7
15
16 include $(INCLUDE_DIR)/target.mk
17 DEFAULT_PACKAGES+=uboot-ifxmips hostapd-mini
18
19 define Target/Description
20 Build firmware images for Infineon Mips Controllers
21 endef
22
23 ifeq ($(KERNEL_PATCHVER),2.6.28)
24 define Kernel/Prepare
25 $(call Kernel/Prepare/Default)
26 mv $(LINUX_DIR)/include/asm-mips/* $(LINUX_DIR)/arch/mips/include/asm/
27 endef
28 endif
29
30 $(eval $(call BuildTarget))