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 = uC5282 |
---|
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 | # optimize flag: typically -O2 |
---|
18 | CFLAGS_OPTIMIZE_V = -O2 -g |
---|
19 | |
---|
20 | # The following are definitions of make-exe which will work using ld as |
---|
21 | # is currently required. |
---|
22 | |
---|
23 | define make-exe |
---|
24 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
---|
25 | $(LINK_OBJS) $(LINK_LIBS) |
---|
26 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ |
---|
27 | $(SIZE) $(basename $@).nxe |
---|
28 | endef |
---|
29 | define make-cxx-exe |
---|
30 | $(LINK.cc) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ |
---|
31 | $(LINK_OBJS) $(LINK_LIBS) |
---|
32 | $(OBJCOPY) -O binary --strip-all $(basename $@).nxe $@ |
---|
33 | $(SIZE) $(basename $@).nxe |
---|
34 | endef |
---|
35 | |
---|
36 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.