blob: 0f12f8b1c755849af25c2148db5a45189895e7e8 [file] [log] [blame]
wdenkbd1575f2003-10-14 19:43:55 +00001#
2# (C) Copyright 2002
3# Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4# Marius Groeger <mgroeger@sysgo.de>
5#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02006# SPDX-License-Identifier: GPL-2.0+
wdenkbd1575f2003-10-14 19:43:55 +00007#
8
9BIG_ENDIAN = y
10
Kumar Gala438eded2009-09-01 11:24:45 -050011PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float -mbig-endian
Wolfgang Denkaba58092005-10-04 22:38:24 +020012
Wolfgang Denk4646d2a2006-05-30 15:56:48 +020013PLATFORM_CPPFLAGS += -mbig-endian -march=armv5te -mtune=strongarm1100
Michael Schwingenbc5e9c62011-05-23 00:00:03 +020014
Marek Vasutada43b42012-03-06 00:00:12 +010015PLATFORM_LDFLAGS += -EB
16USE_PRIVATE_LIBGCC = yes
17
Wolfgang Denkaba58092005-10-04 22:38:24 +020018# =========================================================================
19#
20# Supply options according to compiler version
21#
22# =========================================================================
Wolfgang Denk9209ed52011-11-01 20:54:02 +000023PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
24PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)