blob: f74228cdba1ef1a0271e9e2d52849d8a505d2614 [file] [log] [blame]
wdenk8ed96042005-01-09 23:16:25 +00001#
2# (C) Copyright 2002
Detlev Zundel792a09e2009-05-13 10:54:10 +02003# Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
wdenk8ed96042005-01-09 23:16:25 +00004#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk8ed96042005-01-09 23:16:25 +00006#
wdenk8ed96042005-01-09 23:16:25 +00007
wdenk289f9322005-01-12 00:15:14 +00008# Make ARMv5 to allow more compilers to work, even though its v6.
Wolfgang Denk1820d4c2005-10-04 22:38:24 +02009PLATFORM_CPPFLAGS += -march=armv5
Benoît Thébaudeau8b7cd092013-04-11 09:35:50 +000010
11ifneq ($(CONFIG_IMX_CONFIG),)
12ifdef CONFIG_SPL
Stefano Babica3cbc392012-10-17 06:04:30 +000013ifdef CONFIG_SPL_BUILD
14ALL-y += $(OBJTREE)/SPL
15endif
Benoît Thébaudeau8b7cd092013-04-11 09:35:50 +000016else
17ALL-y += $(obj)u-boot.imx
18endif
19endif