4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Config file for the mcf5235 BSP |
---|
3 | # |
---|
4 | #Based on: |
---|
5 | # $Id$ |
---|
6 | # |
---|
7 | # A0.01 Initial Version BDS 07/26/01 |
---|
8 | # |
---|
9 | |
---|
10 | |
---|
11 | RTEMS_CPU=m68k |
---|
12 | RTEMS_CPU_MODEL=mcf5235 |
---|
13 | |
---|
14 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
15 | |
---|
16 | # This is the actual bsp directory used during the build process. |
---|
17 | RTEMS_BSP_FAMILY=mcf5235 |
---|
18 | |
---|
19 | # This contains the compiler options necessary to select the CPU model |
---|
20 | # and (hopefully) optimize for it. |
---|
21 | CPU_CFLAGS = -m528x |
---|
22 | |
---|
23 | |
---|
24 | # optimize flag: typically -O2 |
---|
25 | CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer |
---|
26 | |
---|
27 | |
---|
28 | ifndef MTARGET |
---|
29 | MTARGET=ram |
---|
30 | endif |
---|
31 | |
---|
32 | # The following are definitions of make-exe which will work using ld as |
---|
33 | # is currently required. |
---|
34 | |
---|
35 | define make-exe |
---|
36 | $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \ |
---|
37 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
---|
38 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ |
---|
39 | $(SIZE) $(basename $@).nxe |
---|
40 | endef |
---|
41 | define make-cxx-exe |
---|
42 | $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) \ |
---|
43 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
---|
44 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ |
---|
45 | $(SIZE) $(basename $@).nxe |
---|
46 | endef |
---|
47 | |
---|
48 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.