s3c2442: R.I.P.
[openwrt.git] / target / linux / etrax / Makefile
1 #
2 # Copyright (C) 2006-2011 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:=cris
10 BOARD:=etrax
11 MAINTAINER:=Claudio Mignanti <c.mignanti@gmail.com>
12 BOARDNAME:=Axis ETRAX 100LX
13 FEATURES:=squashfs jffs2 usb broken
14 LINUX_VERSION:=2.6.32.33
15 DEVICE_TYPE=
16
17 include $(INCLUDE_DIR)/target.mk
18
19 KERNELNAME:="zImage"
20
21 define Target/Description
22         Build firmware images for the FOXBOARD made by acmesystems.it
23 endef
24
25 define Kernel/Prepare
26         $(call Kernel/Prepare/Default)
27         mkdir -p $(LINUX_DIR)/include/asm-cris
28         $(CP) $(LINUX_DIR)/arch/cris/include/asm/*.h $(LINUX_DIR)/include/asm-cris
29         mkdir -p $(LINUX_DIR)/include/asm-cris/arch
30         $(CP) $(LINUX_DIR)/arch/cris/include/arch-v10/arch/*.h $(LINUX_DIR)/include/asm-cris/arch
31 endef
32
33 $(eval $(call BuildTarget))