source: rtems/bsps/powerpc/qemuppc/config/qemuppc.cfg @ b06e8d61

5
Last change on this file since b06e8d61 was b06e8d61, checked in by Joel Sherrill <joel@…>, on May 16, 2018 at 2:54:50 PM

qemuppc: Move -Dxxx to configure.ac

Updates #3425.

  • Property mode set to 100644
File size: 707 bytes
Line 
1#
2#  Config file for the PowerPC 60x simulator in Qemu
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.
11CPU_CFLAGS = -mcpu=603e
12
13# optimize flag: typically -O2
14CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
15
16# FIXME: Disabled because linkcmds lacks proper KEEP() directives. See #2564.
17# The following two lines enable compiling and linking on per element.
18# CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
19# LDFLAGS = -Wl,--gc-sections
20
21define bsp-post-link
22        $(default-bsp-post-link)
23        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
24endef
Note: See TracBrowser for help on using the repository browser.