blob: 0887110964f055bba2893c40336d8289b0a674c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#
# Config file for a PowerPC MPC8xx-based TQM8xx carrier card
#
include $(RTEMS_ROOT)/make/custom/default.cfg
RTEMS_CPU=powerpc
CPU_CFLAGS = -mcpu=860 -mstrict-align -fno-strict-aliasing \
-meabi -msdata=sysv -fno-common
# optimize flag: typically -O2
CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
LDFLAGS = -Wl,--gc-sections
define bsp-post-link
cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
$(STRIP) $(basename $@)$(DOWNEXT)
$(default-bsp-post-link)
endef
|