summaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/Makefile
blob: 27ea078fb8ee2f038bf7a7f68705b0b4b3a3da80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#
# Copyright (C) 2007-2008 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:=ifxmips
BOARDNAME:=Infineon Mips
FEATURES:=squashfs jffs2

LINUX_VERSION:=2.6.28.7

include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES+=uboot-ifxmips hostapd-mini

define Target/Description
	Build firmware images for Infineon Mips Controllers
endef

ifeq ($(KERNEL_PATCHVER),2.6.28)
  define Kernel/Prepare
	$(call Kernel/Prepare/Default)
	mv $(LINUX_DIR)/include/asm-mips/* $(LINUX_DIR)/arch/mips/include/asm/
  endef
endif

$(eval $(call BuildTarget))