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