add new au1000 profiles
[openwrt.git] / target / linux / etrax / Makefile
1 #
2 # Copyright (C) 2006 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.19.2
14
15 include $(INCLUDE_DIR)/target.mk
16
17 KERNELNAME:="zImage"
18 DEFAULT_PACKAGES += foxboard-utils
19
20 define Target/Description
21 Build fimware images for the FOXBOARD made by acmesystems.it
22 endef
23
24 define Kernel/Prepare/Fox
25 bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS)
26 if [ -d ./files ]; then $(CP) ./files/* $(LINUX_DIR)/; fi
27 if [ -d ./patches/generic_2.6 ]; then $(PATCH) $(LINUX_DIR) ./patches/generic_2.6; fi
28 if [ -d ./patches/cris ]; then $(PATCH) $(LINUX_DIR) ./patches/cris; fi
29 ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/include/asm-cris/arch-v10 $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/include/asm-cris/arch
30 ln -sf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/arch/cris/arch-v10 $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/arch/cris/arch
31 endef
32
33 define Kernel/Prepare
34 $(call Kernel/Prepare/Fox)
35 endef
36
37 $(eval $(call BuildTarget))
38 $(eval $(call RequireCommand,/usr/local/cris/gcc-cris, \
39 Please install the binary cris toolchain. \
40 ))
This page took 0.052181 seconds and 5 git commands to generate.