4.104.114.84.95
Last change
on this file since e68206a1 was
b345f83,
checked in by Eric Norum <WENorum@…>, on 10/27/04 at 21:17:55
|
Add -Wa,-m7450 to CPU_CFLAGS until gcc/gas get their acts together.
|
-
Property mode set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | # |
---|
2 | # Config file for the PowerPC 7455 based mvme5500 |
---|
3 | # |
---|
4 | # mvme2307.cfg,v 1.14.4.1 2003/03/18 19:26:36 joel Exp |
---|
5 | # |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
8 | |
---|
9 | RTEMS_CPU=powerpc |
---|
10 | RTEMS_CPU_MODEL=mpc7455 |
---|
11 | RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
---|
12 | |
---|
13 | # This is the actual bsp directory used during the build process. |
---|
14 | RTEMS_BSP_FAMILY=mvme5500 |
---|
15 | |
---|
16 | # This contains the compiler options necessary to select the CPU model |
---|
17 | # and (hopefully) optimize for it. |
---|
18 | # if gcc does not regonize 7450 then change -mcpu=750 |
---|
19 | # |
---|
20 | CPU_CFLAGS = -mcpu=7450 -Dmpc7455 -mmultiple -mstring -mstrict-align -Wa,-m7450 |
---|
21 | #T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi |
---|
22 | |
---|
23 | # optimize flag: typically -0, could use -O4 or -fast |
---|
24 | # -O4 is ok for RTEMS |
---|
25 | # NOTE: some level of -O may be actually required by inline assembler |
---|
26 | #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
---|
27 | CFLAGS_OPTIMIZE_V = -O4 |
---|
28 | |
---|
29 | # debug flags: typically none, but at least -O1 is required due to this |
---|
30 | # BSP using inlined code |
---|
31 | CFLAGS_DEBUG_V = -O1 |
---|
32 | |
---|
33 | # profile flags: typically none, but at least -O1 is required due to this |
---|
34 | # BSP using inlined code |
---|
35 | CFLAGS_PROFILE_V = -O1 |
---|
36 | |
---|
37 | define make-exe |
---|
38 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ $(LINK_OBJS) $(LINK_LIBS) |
---|
39 | $(NM) -g -n $@ > $(basename $@).num |
---|
40 | $(SIZE) $@ |
---|
41 | # test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin |
---|
42 | $(OBJCOPY) -Obinary $@ $(@:%.exe=%)$(LIB_VARIANT).bin |
---|
43 | endef |
---|
44 | |
---|
45 | # Miscellaneous additions go here |
---|
46 | |
---|
47 | # No start file |
---|
48 | START_BASE=mvme5500start |
---|
Note: See
TracBrowser
for help on using the repository browser.