source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/mvme2307.cfg @ 6882be7

5
Last change on this file since 6882be7 was 6882be7, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 26, 2018 at 5:47:02 AM

bsps/powerpc: Remove libcpu/powerpc

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 856 bytes
Line 
1#
2#  Config file for the PowerPC 604 based mvme2307
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=604 -mmultiple -mstring -mstrict-align -meabi
13
14# optimize flag: typically -O2
15CFLAGS_OPTIMIZE_V = -O2 -g
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)  $(PROJECT_RELEASE)/lib/bootloader.o \
25            --just-symbols=$(basename $@)$(EXEEXT) \
26            --no-warn-mismatch \
27            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
28            -Map $(basename $@).map && chmod 755 $@
29        rm -f rtems.gz
30endef
Note: See TracBrowser for help on using the repository browser.