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.2 KB
|
Line | |
---|
1 | #
|
---|
2 | # Makefileã®ã³ã¢ä¾åé¨ï¼ARMç¨ï¼
|
---|
3 | #
|
---|
4 | # $Id: Makefile.core 572 2016-02-01 14:40:09Z ertl-hiro $
|
---|
5 | #
|
---|
6 |
|
---|
7 | #
|
---|
8 | # ã³ã¢ä¾åé¨ãã£ã¬ã¯ããªåã®å®ç¾©
|
---|
9 | #
|
---|
10 | COREDIR = $(SRCDIR)/arch/$(CORE)_$(TOOL)/common
|
---|
11 |
|
---|
12 | #
|
---|
13 | # ãã¼ã«ä¾åé¨ãã£ã¬ã¯ããªåã®å®ç¾©
|
---|
14 | #
|
---|
15 | TOOLDIR = $(SRCDIR)/arch/$(TOOL)
|
---|
16 |
|
---|
17 | #
|
---|
18 | # GNUéçºç°å¢ã®ã¿ã¼ã²ããã¢ã¼ããã¯ãã£ã®å®ç¾©
|
---|
19 | #
|
---|
20 | ifndef GCC_TARGET
|
---|
21 | GCC_TARGET = arm-none-eabi
|
---|
22 | endif
|
---|
23 |
|
---|
24 | #
|
---|
25 | # ã³ã³ãã¤ã«ãªãã·ã§ã³
|
---|
26 | #
|
---|
27 | INCLUDES := $(INCLUDES) -I$(COREDIR) -I$(TOOLDIR)
|
---|
28 | LIBS := $(LIBS) -lgcc
|
---|
29 |
|
---|
30 | #
|
---|
31 | # ã«ã¼ãã«ã«é¢ããå®ç¾©
|
---|
32 | #
|
---|
33 | KERNEL_DIRS := $(KERNEL_DIRS) $(COREDIR)
|
---|
34 | KERNEL_ASMOBJS := $(KERNEL_ASMOBJS) core_support.o
|
---|
35 | KERNEL_COBJS := $(KERNEL_COBJS) core_kernel_impl.o arm.o
|
---|
36 |
|
---|
37 | #
|
---|
38 | # ã³ã³ãã£ã®ã¥ã¬ã¼ã¿é¢ä¿ã®å¤æ°ã®å®ç¾©
|
---|
39 | #
|
---|
40 | CFG_TABS := $(CFG_TABS) --symval-table $(COREDIR)/core_sym.def
|
---|
41 |
|
---|
42 | #
|
---|
43 | # ãªãã»ãããã¡ã¤ã«çæã®ããã®å®ç¾©
|
---|
44 | #
|
---|
45 | TARGET_OFFSET_TRB = $(COREDIR)/core_offset.trb
|
---|
46 |
|
---|
47 | #
|
---|
48 | # ã¹ã¿ã¼ãã¢ããã¢ã¸ã¥ã¼ã«ã«é¢ããå®ç¾©
|
---|
49 | #
|
---|
50 | # START_OBJSãstart.oã«è¨å®ãï¼LDFLAGSã«-nostdlibã追å ããï¼
|
---|
51 | #
|
---|
52 | START_OBJS = start.o
|
---|
53 |
|
---|
54 | $(START_OBJS): %.o: %.S
|
---|
55 | $(CC) -c $(CFLAGS) $(KERNEL_CFLAGS) $<
|
---|
56 |
|
---|
57 | LDFLAGS := -nostdlib $(LDFLAGS)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.