source: rtems/bsps/powerpc/beatnik/config/beatnik.cfg @ b1b5afba

Last change on this file since b1b5afba was b1b5afba, checked in by Joel Sherrill <joel@…>, on May 16, 2018 at 2:43:24 PM

beatnik: Move -Dxxx to configure.ac

Updates #3425.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2#  Config file for the PowerPC 745x based mvmexxxx
3#
4#
5
6include $(RTEMS_ROOT)/make/custom/default.cfg
7
8RTEMS_CPU=powerpc
9RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new
10
11# This is the actual bsp directory used during the build process.
12RTEMS_BSP_FAMILY=beatnik
13
14#  This contains the compiler options necessary to select the CPU model
15#  and (hopefully) optimize for it.
16#
17CPU_CFLAGS = -mcpu=7400
18#T. Straumann; disable sdata=eabi for now until CEXP supports it -meabi -msdata=eabi
19
20# optimize flag: typically -0, could use -O4 or -fast
21# -O4 is ok for RTEMS
22# NOTE: some level of -O may be actually required by inline assembler
23#CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
24CFLAGS_OPTIMIZE_V = -O2 -g
25CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
26
27LDFLAGS = -Wl,--gc-sections
28
29# debug flags: typically none, but at least -O1 is required due to this
30# BSP using inlined code
31CFLAGS_DEBUG_V = -O1 -g
32
33define bsp-post-link
34        $(default-bsp-post-link)
35        $(OBJCOPY) -O binary $@ $(basename $@)$(DOWNEXT)
36endef
37
38# Miscellaneous additions go here
39START_BASE = motld_start
Note: See TracBrowser for help on using the repository browser.