source: rtems/bsps/powerpc/virtex5/config/virtex5.cfg @ df71100c

5
Last change on this file since df71100c was eaf5bec, checked in by Joel Sherrill <joel@…>, on 05/16/18 at 15:07:26

virtex5: Move -Dxxx to configure.ac

Updates #3425.

  • Property mode set to 100644
File size: 542 bytes
Line 
1include $(RTEMS_ROOT)/make/custom/default.cfg
2
3RTEMS_CPU=powerpc
4
5#  This contains the compiler options necessary to select the CPU model
6#  and (hopefully) optimize for it.
7#
8CPU_CFLAGS = -mcpu=440 -msoft-float
9
10# optimize flag: typically -O2
11CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
12CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
13
14LDFLAGS = -Wl,--gc-sections
15
16# Miscellaneous additions go here
17define bsp-post-link
18        $(default-bsp-post-link)
19        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
20endef
21
Note: See TracBrowser for help on using the repository browser.