wdenk | 8ed9604 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 1 | # |
2 | # (C) Copyright 2002 | ||||
Detlev Zundel | 792a09e | 2009-05-13 10:54:10 +0200 | [diff] [blame] | 3 | # Gary Jennejohn, DENX Software Engineering, <garyj@denx.de> |
wdenk | 8ed9604 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 4 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 8ed9604 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 6 | # |
wdenk | 8ed9604 | 2005-01-09 23:16:25 +0000 | [diff] [blame] | 7 | |
wdenk | 289f932 | 2005-01-12 00:15:14 +0000 | [diff] [blame] | 8 | # Make ARMv5 to allow more compilers to work, even though its v6. |
Wolfgang Denk | 1820d4c | 2005-10-04 22:38:24 +0200 | [diff] [blame] | 9 | PLATFORM_CPPFLAGS += -march=armv5 |
Benoît Thébaudeau | 8b7cd09 | 2013-04-11 09:35:50 +0000 | [diff] [blame] | 10 | |
11 | ifneq ($(CONFIG_IMX_CONFIG),) | ||||
12 | ifdef CONFIG_SPL | ||||
Stefano Babic | a3cbc39 | 2012-10-17 06:04:30 +0000 | [diff] [blame] | 13 | ifdef CONFIG_SPL_BUILD |
14 | ALL-y += $(OBJTREE)/SPL | ||||
15 | endif | ||||
Benoît Thébaudeau | 8b7cd09 | 2013-04-11 09:35:50 +0000 | [diff] [blame] | 16 | else |
17 | ALL-y += $(obj)u-boot.imx | ||||
18 | endif | ||||
19 | endif |