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

5
Last change on this file since f004ace8 was adb85dd, checked in by Sebastian Huber <sebastian.huber@…>, on 04/21/18 at 08:22:08

bsps: Move make/custom/* files to bsps

Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 1.1 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 -D__ppc_generic
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.