etrax: 2.6.32 support
[openwrt/openwrt.git] / target / linux / etrax / Makefile
1 #
2 # Copyright (C) 2006-2009 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 BOARDNAME:=Foxboard (ETRAX 100LX)
12 FEATURES:=squashfs jffs2
13 LINUX_VERSION:=2.6.32.7
14 DEVICE_TYPE=
15
16 include $(INCLUDE_DIR)/target.mk
17
18 KERNELNAME:="zImage"
19
20 define Target/Description
21 Build firmware images for the FOXBOARD made by acmesystems.it
22 endef
23
24 define Kernel/Prepare
25 $(call Kernel/Prepare/Default)
26 mkdir -p $(LINUX_DIR)/include/asm-cris
27 $(CP) $(LINUX_DIR)/arch/cris/include/asm/*.h $(LINUX_DIR)/include/asm-cris
28 mkdir -p $(LINUX_DIR)/include/asm-cris/arch
29 $(CP) $(LINUX_DIR)/arch/cris/include/arch-v10/arch/*.h $(LINUX_DIR)/include/asm-cris/arch
30 endef
31
32 $(eval $(call BuildTarget))