source: rtems/bsps/powerpc/motorola_powerpc/config/mcp750.cfg @ 2261ef2

5
Last change on this file since 2261ef2 was 2261ef2, checked in by Joel Sherrill <joel@…>, on May 16, 2018 at 2:47:40 PM

motorola_powerpc: Move -Dxxx to configure.ac

Updates #3425.

  • Property mode set to 100644
File size: 871 bytes
Line 
1#
2#  Config file for Motorola MCP750 -- a MPC750 CompactPCI board
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=powerpc
8
9#  This contains the compiler options necessary to select the CPU model
10#  and (hopefully) optimize for it.
11#
12CPU_CFLAGS = -mcpu=750
13
14# optimize flag: typically -O2
15CFLAGS_OPTIMIZE_V = -O2 -g -mmultiple -mstring -mstrict-align
16CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
17
18LDFLAGS = -Wl,--gc-sections
19
20define bsp-post-link
21        $(default-bsp-post-link)
22        $(OBJCOPY) -O binary -R .comment -S $(basename $@)$(EXEEXT) rtems
23        gzip -vf9 rtems
24        $(LD) -o $(basename $@)$(DOWNEXT) \
25            $ $(PROJECT_RELEASE)/lib/bootloader.o \
26            --just-symbols=$(basename $@)$(EXEEXT) \
27            --no-warn-mismatch \
28            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
29            -Map $(basename $@).map && chmod 755 $@
30        rm -f rtems.gz
31endef
Note: See TracBrowser for help on using the repository browser.