summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/qoriq/config/qoriq.inc
blob: ad5c04b679aa9fb2c09e46f43b5d16a33c66ef5f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
#  Shared base config file for QorIQ BSPs
#

include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU = powerpc

CPU_CFLAGS = -mcpu=8540 -meabi -msdata=sysv -fno-common -mstrict-align \
	-mspe -mabi=spe -mfloat-gprs=double

CFLAGS_OPTIMIZE_V = -O2 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

LDFLAGS = -Wl,--gc-sections

# define bsp-post-link
#   $(OBJCOPY) -O binary '$@' '$(basename $@).bin'
#   gzip -f -9 '$(basename $@).bin'
#   mkimage -A ppc -O linux -T kernel -a 0x4000 -e 0x4000  -name '$(notdir $@)' -d '$(basename $@).bin.gz' '$(basename $@).img'
#   $(default-bsp-post-link)
# endef