blob: 6a0fceabe77f282d9cc51aa71d2d0bfdff78d59f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#
# Config file for the PowerPC 7455 based mvme5500
#
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=powerpc
# This is the actual bsp directory used during the build process.
RTEMS_BSP_FAMILY=mvme5500
# This contains the compiler options necessary to select the CPU model
# and (hopefully) optimize for it.
CPU_CFLAGS = -mcpu=7450 -mtune=7450 -Dmpc7455
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
LDFLAGS = -Wl,--gc-sections
define bsp-post-link
$(default-bsp-post-link)
$(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
endef
#
START_BASE=mvme5500start
|