3 # Sysgo Real-Time Solutions, GmbH <www.elinos.com>
4 # Marius Groeger <mgroeger@sysgo.de>
6 # SPDX-License-Identifier: GPL-2.0+
9 PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
11 PLATFORM_CPPFLAGS += -march=armv4 -mtune=arm7tdmi
12 # =========================================================================
14 # Supply options according to compiler version
16 # =========================================================================
17 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,\
18 $(call cc-option,-malignment-traps,))
19 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)