4.104.114.84.95
Last change
on this file since f77de45 was
f77de45,
checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/01/06 at 17:26:20
|
New (Submission by Thomas Doerfler <Thomas.Doerfler@…>).
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | # |
---|
2 | # Shared base config file for GEN5200 BSPs |
---|
3 | # |
---|
4 | # $Id$ |
---|
5 | # |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
8 | |
---|
9 | RTEMS_CPU=powerpc |
---|
10 | RTEMS_CPU_MODEL=mpc6xx |
---|
11 | |
---|
12 | # This is the actual bsp directory used during the build process. |
---|
13 | RTEMS_BSP_FAMILY=gen5200 |
---|
14 | |
---|
15 | # This contains the compiler options necessary to select the CPU model |
---|
16 | # and (hopefully) optimize for it. |
---|
17 | # |
---|
18 | # CPU_CFLAGS = -mcpu=$(8XX_CPU_TYPE) -mstrict-align |
---|
19 | CPU_CFLAGS = -mcpu=603e -mstrict-align -D$(RTEMS_BOARD_MODEL) |
---|
20 | |
---|
21 | # optimize flag: typically -0, could use -O4 or -fast |
---|
22 | # -O4 is ok for RTEMS |
---|
23 | # NOTE: some level of -O may be actually required by inline assembler |
---|
24 | CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions -g |
---|
25 | |
---|
26 | # The following are definitions of make-exe which will work using ld as |
---|
27 | # is currently required. It is expected that as of gcc 2.8, the end user |
---|
28 | # will be able to override parts of the compilers specs and link using gcc. |
---|
29 | |
---|
30 | define make-exe |
---|
31 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
32 | -qnolinkcmds -T $(RTEMS_LINKCMDS) -o $(basename $@).exe \ |
---|
33 | $(LINK_OBJS) $(LINK_LIBS) |
---|
34 | $(NM) -g -n $(basename $@).exe > $(basename $@).num |
---|
35 | $(SIZE) $(basename $@).exe |
---|
36 | endef |
---|
37 | |
---|
38 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.