2009-05-03 19:58:06 +03:00
|
|
|
#
|
2009-04-19 18:36:30 +03:00
|
|
|
# Copyright (C) 2006-2009 OpenWrt.org
|
2007-06-02 03:46:02 +03: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 15:44:18 +03:00
|
|
|
BOARDNAME:=Foxboard (ETRAX 100LX)
|
2009-02-04 16:32:16 +02:00
|
|
|
FEATURES:=squashfs jffs2
|
2009-09-17 14:22:33 +03:00
|
|
|
LINUX_VERSION:=2.6.30.7
|
2009-05-09 16:51:52 +03:00
|
|
|
DEVICE_TYPE=
|
2007-06-02 03:46:02 +03:00
|
|
|
|
2007-09-08 22:55:42 +03:00
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
|
|
|
|
KERNELNAME:="zImage"
|
2007-06-02 03:46:02 +03:00
|
|
|
|
|
|
|
define Target/Description
|
2008-07-04 03:58:46 +03:00
|
|
|
Build firmware images for the FOXBOARD made by acmesystems.it
|
2007-06-02 03:46:02 +03:00
|
|
|
endef
|
|
|
|
|
2009-07-03 13:05:18 +03: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-08 22:55:42 +03:00
|
|
|
$(eval $(call BuildTarget))
|