4.104.114.84.95
Last change
on this file since e68206a1 was
e68206a1,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/05 at 18:12:20
|
2005-01-20 Joel Sherrill <joel@…>
- custom/arm_bare_bsp.cfg, custom/armulator.cfg, custom/csb336.cfg,
custom/csb337.cfg, custom/edb7312.cfg, custom/jmr3904.cfg,
custom/pc486.cfg, custom/pc586.cfg, custom/pc686.cfg,
custom/pck6.cfg, custom/vegaplus.cfg: Correct use of arguments for
gcc 4.x. Hopefully they are still OK for gcc 3.3.5.
|
-
Property mode set to
100644
|
File size:
999 bytes
|
Rev | Line | |
---|
[caf88699] | 1 | # |
---|
| 2 | # Config file for ARMulator |
---|
| 3 | # |
---|
| 4 | # $Id$ |
---|
| 5 | # |
---|
| 6 | |
---|
| 7 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
| 8 | |
---|
| 9 | RTEMS_CPU=arm |
---|
| 10 | RTEMS_CPU_MODEL=arm7tdmi |
---|
| 11 | |
---|
| 12 | # This is the actual bsp directory used during the build process. |
---|
| 13 | RTEMS_BSP_FAMILY=armulator |
---|
| 14 | |
---|
| 15 | # This contains the compiler options necessary to select the CPU model |
---|
| 16 | # and (hopefully) optimize for it. |
---|
| 17 | # |
---|
| 18 | #CPU_CFLAGS = -mcpu=arm7tdmi |
---|
[e68206a1] | 19 | # CPU_CFLAGS = -msoft-float |
---|
[caf88699] | 20 | |
---|
| 21 | # optimize flag: typically -0, could use -O4 or -fast |
---|
| 22 | # -O4 is ok for RTEMS |
---|
| 23 | # NOTE2: some level of -O may be actually required by inline assembler (at least |
---|
| 24 | # -O2 so far. |
---|
[6e32d88] | 25 | #CFLAGS_OPTIMIZE_V= |
---|
| 26 | CFLAGS_OPTIMIZE_V=-O4 |
---|
[caf88699] | 27 | |
---|
| 28 | # debug flags: typically none, but at least -O1 is required due to this |
---|
| 29 | # BSP using inlined code |
---|
| 30 | CFLAGS_DEBUG_V = -O1 |
---|
| 31 | #CFLAGS_DEBUG_V = -O1 -mmultiple -mstring -mstrict-align |
---|
| 32 | |
---|
| 33 | define make-exe |
---|
[ef386359] | 34 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ |
---|
| 35 | $(LINK_OBJS) $(LINK_LIBS) |
---|
[caf88699] | 36 | $(NM) -g -n $(basename $@).exe > $(basename $@).num |
---|
| 37 | $(SIZE) $(basename $@).exe |
---|
| 38 | endef |
---|
| 39 | |
---|
| 40 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.