]> git.ipfire.org Git - thirdparty/u-boot.git/blame - arch/arm/cpu/arm1136/config.mk
Add GPL-2.0+ SPDX-License-Identifier to source files
[thirdparty/u-boot.git] / arch / arm / cpu / arm1136 / config.mk
CommitLineData
8ed96046
WD
1#
2# (C) Copyright 2002
792a09eb 3# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
8ed96046 4#
1a459660 5# SPDX-License-Identifier: GPL-2.0+
8ed96046 6#
d72871e1 7PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
8ed96046 8
289f932c 9# Make ARMv5 to allow more compilers to work, even though its v6.
1820d4c7
WD
10PLATFORM_CPPFLAGS += -march=armv5
11# =========================================================================
12#
13# Supply options according to compiler version
14#
15# =========================================================================
cca4e4ae
WD
16PF_RELFLAGS_SLB_AT := $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))
17PLATFORM_RELFLAGS += $(PF_RELFLAGS_SLB_AT)
8b7cd098
BT
18
19ifneq ($(CONFIG_IMX_CONFIG),)
20ifdef CONFIG_SPL
a3cbc396
SB
21ifdef CONFIG_SPL_BUILD
22ALL-y += $(OBJTREE)/SPL
23endif
8b7cd098
BT
24else
25ALL-y += $(obj)u-boot.imx
26endif
27endif