3 # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
5 # SPDX-License-Identifier: GPL-2.0+
8 PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
10 PLATFORM_CPPFLAGS += -march=armv5te
11 # =========================================================================
13 # Supply options according to compiler version
15 # =========================================================================
16 PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
17 PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
19 ifneq ($(CONFIG_IMX_CONFIG),)
21 ifdef CONFIG_SPL_BUILD
22 ALL-y += $(OBJTREE)/SPL
25 ALL-y += $(obj)u-boot.imx