source: EcnlProtoTool/trunk/asp3_dcre/target/gr_peach_gcc/Makefile.target@ 270

Last change on this file since 270 was 270, checked in by coas-nagasima, 7 years ago

mruby版ECNLプロトタイピング・ツールを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-makefile
File size: 1.7 KB
Line 
1#
2# Makefile のターゲット依存部(GR-PEACH用)
3#
4# $Id: Makefile.target 732 2016-04-03 03:08:05Z ertl-hiro $
5#
6
7#
8# システム名,チップ名,コア名,開発環境名の定義
9#
10SYS = gr_peach
11CHIP = rza1
12CORE = arm
13TOOL = gcc
14
15#
16# 実行形æ…
17‹
18#
19# フラッシュメモリ(ROM)に書き込むか,RAMにロードして実行するかを選択
20# する.
21#
22ifndef EXECUTE_ON
23EXECUTE_ON = ROM
24endif
25
26#
27# ブートローダの組込み
28#
29ifeq ($(EXECUTE_ON),ROM)
30 SYSSVC_COBJS := $(SYSSVC_COBJS)
31endif
32
33#
34# MPCoreの種類の定義
35#
36MPCORE_TYPE = CA9
37
38#
39# コンパイルオプション
40#
41INCLUDES := $(INCLUDES) -I$(TARGETDIR)
42COPTS := $(COPTS) -mlittle-endian
43LDFLAGS := $(LDFLAGS) -mlittle-endian
44
45#
46# カーネルに関する定義
47#
48KERNEL_DIRS := $(KERNEL_DIRS) $(TARGETDIR)
49KERNEL_COBJS := $(KERNEL_COBJS) target_kernel_impl.o core_pl310.o
50KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) target_support.o
51
52#
53# コンパイルオプションとリンカスクリプトの定義
54#
55ifeq ($(EXECUTE_ON),ROM)
56 CDEFS := $(CDEFS) -DTOPPERS_EXECUTE_ON_ROM
57 #LDSCRIPT = $(TARGETDIR)/gr_peach_rom.ld
58 LDSCRIPT = $(SRCDIR)/mbed/targets/cmsis/TARGET_RENESAS/TARGET_RZ_A1H/TOOLCHAIN_GCC_ARM/RZA1H.ld
59else
60 CDEFS := $(CDEFS) -DTOPPERS_EXECUTE_ON_RAM
61 LDSCRIPT = $(TARGETDIR)/gr_peach_ram.ld
62endif
63
64#
65# GNU開発環境のターゲットアーキテクチャの定義
66#
67GCC_TARGET = arm-none-eabi
68#GCC_TARGET = arm-atollic-eabi
69
70#
71# トレースログ記録のサンプルコードに関する定義
72#
73ifeq ($(ENABLE_TRACE),true)
74 COPTS := $(COPTS) -DTOPPERS_ENABLE_TRACE
75 SYSSVC_DIRS := $(SYSSVC_DIRS) $(SRCDIR)/arch/tracelog
76endif
77
78#
79# チップ依存部のインクルード
80#
81include $(SRCDIR)/arch/arm_gcc/rza1/Makefile.chip
Note: See TracBrowser for help on using the repository browser.