2009-05-04 00:58:06 +08:00
|
|
|
#
|
2009-04-19 23:36:30 +08:00
|
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
2007-06-02 08:46:02 +08:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
ARCH:=cris
|
|
|
|
BOARD:=etrax
|
2007-06-02 20:44:18 +08:00
|
|
|
BOARDNAME:=Foxboard (ETRAX 100LX)
|
2009-02-04 22:32:16 +08:00
|
|
|
FEATURES:=squashfs jffs2
|
2010-02-28 18:16:47 +08:00
|
|
|
LINUX_VERSION:=2.6.32.9
|
2009-05-09 21:51:52 +08:00
|
|
|
DEVICE_TYPE=
|
2007-06-02 08:46:02 +08:00
|
|
|
|
2007-09-09 03:55:42 +08:00
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
|
|
|
|
KERNELNAME:="zImage"
|
2007-06-02 08:46:02 +08:00
|
|
|
|
|
|
|
define Target/Description
|
2008-07-04 08:58:46 +08:00
|
|
|
Build firmware images for the FOXBOARD made by acmesystems.it
|
2007-06-02 08:46:02 +08:00
|
|
|
endef
|
|
|
|
|
2009-07-03 18:05:18 +08:00
|
|
|
define Kernel/Prepare
|
|
|
|
$(call Kernel/Prepare/Default)
|
|
|
|
mkdir -p $(LINUX_DIR)/include/asm-cris
|
|
|
|
$(CP) $(LINUX_DIR)/arch/cris/include/asm/*.h $(LINUX_DIR)/include/asm-cris
|
|
|
|
mkdir -p $(LINUX_DIR)/include/asm-cris/arch
|
|
|
|
$(CP) $(LINUX_DIR)/arch/cris/include/arch-v10/arch/*.h $(LINUX_DIR)/include/asm-cris/arch
|
|
|
|
endef
|
|
|
|
|
2007-09-09 03:55:42 +08:00
|
|
|
$(eval $(call BuildTarget))
|