ARM: merge commonly-defined PLATFORM_RELFLAGS
[platform/kernel/u-boot.git] / arch / arm / cpu / arm1136 / config.mk
1 #
2 # (C) Copyright 2002
3 # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
4 #
5 # SPDX-License-Identifier:      GPL-2.0+
6 #
7
8 # Make ARMv5 to allow more compilers to work, even though its v6.
9 PLATFORM_CPPFLAGS += -march=armv5
10
11 ifneq ($(CONFIG_IMX_CONFIG),)
12 ifdef CONFIG_SPL
13 ifdef CONFIG_SPL_BUILD
14 ALL-y   += $(OBJTREE)/SPL
15 endif
16 else
17 ALL-y   += $(obj)u-boot.imx
18 endif
19 endif