source: anotherchoice/tags/jsp-1.4.4-full-UTF8/config/armv4/at91sam7s/Makefile.config@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 983 bytes
Line 
1#
2# @(#) $Id: Makefile.config,v 1.2 2006/06/11 11:14:24 roi Exp $
3#
4
5#
6# Makefile のシステム依存部分(AT91SAM7S用)
7#
8
9#
10# コンパイルフラグ
11#
12INCLUDES := $(INCLUDES) -I$(CONFIGDIR)/$(CPU)/$(SYS)
13COPTS := $(COPTS) -mcpu=arm7tdmi -Wa,--gstabs
14LDFLAGS := $(LDFLAGS) -mcpu=arm7tdmi -N
15
16#
17# カーネルに関する定義
18#
19KERNEL_DIR := $(KERNEL_DIR):$(CONFIGDIR)/$(CPU)/$(SYS)
20KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) sys_support.o
21KERNEL_COBJS := $(KERNEL_COBJS) sys_config.o at91sam7s.o
22
23#
24# リンカスクリプトの定義
25#
26LDSCRIPT = $(CPU)/$(SYS)/at91sam7s.ld
27
28
29#
30# ターゲットボード依存の定義
31#
32
33# INTEGRATOR用
34ifeq ($(AT91SAM7S_TYPE),at91sam7s128)
35COPTS := $(COPTS) -D__AT91SAM7S128__ -mlittle-endian
36else
37COPTS := $(COPTS) -D__AT91SAM7S256__ -mlittle-endian
38endif
39LDFLAGS := $(LDFLAGS) -mlittle-endian
40TEXT_START_ADDRESS=0x00000040
41ifdef VECTOR_IN_ROM
42DATA_START_ADDRESS=0x00200000
43COPTS := $(COPTS) -DVECTOR_IN_ROM
44endif
Note: See TracBrowser for help on using the repository browser.