4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Config file for the uC5282 BSP |
---|
3 | # |
---|
4 | |
---|
5 | RTEMS_CPU=m68k |
---|
6 | RTEMS_CPU_MODEL=mcf5282 |
---|
7 | |
---|
8 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
9 | |
---|
10 | # This is the actual bsp directory used during the build process. |
---|
11 | RTEMS_BSP_FAMILY=av5282 |
---|
12 | |
---|
13 | # This contains the compiler options necessary to select the CPU model |
---|
14 | # and (hopefully) optimize for it. |
---|
15 | CPU_CFLAGS = -m528x |
---|
16 | |
---|
17 | |
---|
18 | # optimize flag: typically -O2 |
---|
19 | CFLAGS_OPTIMIZE_V= -O4 -fomit-frame-pointer |
---|
20 | |
---|
21 | ifndef MTARGET |
---|
22 | MTARGET=ram |
---|
23 | endif |
---|
24 | |
---|
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 | |
---|
31 | define make-exe |
---|
32 | $(LINK.c) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -qnolinkcmds -o $(basename $@).nxe \ |
---|
33 | $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds |
---|
34 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ |
---|
35 | $(SIZE) $(basename $@).nxe |
---|
36 | endef |
---|
37 | define make-cxx-exe |
---|
38 | $(LINK.cc) $(AM_CFLAGS) -m5200 $(AM_LDFLAGS) -qnolinkcmds -o $(basename $@).nxe \ |
---|
39 | $(LINK_OBJS) $(LINK_LIBS) -Wl,-Tlinkcmds |
---|
40 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ |
---|
41 | $(SIZE) $(basename $@).nxe |
---|
42 | endef |
---|
43 | |
---|
44 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.