source: rtems/bsps/powerpc/virtex4/config/virtex4.cfg @ 762fa62

5
Last change on this file since 762fa62 was 17f69e4, checked in by Joel Sherrill <joel@…>, on 05/16/18 at 15:01:26

virtex4: Move -Dxxx to configure.ac

Updates #3425.

  • Property mode set to 100644
File size: 529 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=405
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.