Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 2 | # |
| 3 | # Copyright (C) 2018, STMicroelectronics - All Rights Reserved |
| 4 | # |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 5 | |
Sean Nyekjær | a4b473c | 2019-01-04 11:37:24 +0000 | [diff] [blame] | 6 | ALL-$(CONFIG_SPL_BUILD) += u-boot-spl.stm32 |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 7 | |
| 8 | MKIMAGEFLAGS_u-boot-spl.stm32 = -T stm32image -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE) |
| 9 | |
Patrick Delaunay | 1051f1a | 2019-01-28 11:13:27 +0100 | [diff] [blame] | 10 | spl/u-boot-spl.stm32: MKIMAGEOUTPUT = spl/u-boot-spl.stm32.log |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 11 | |
Patrick Delaunay | 1051f1a | 2019-01-28 11:13:27 +0100 | [diff] [blame] | 12 | spl/u-boot-spl.stm32: spl/u-boot-spl.bin FORCE |
Patrick Delaunay | 85b5397 | 2018-03-12 10:46:10 +0100 | [diff] [blame] | 13 | $(call if_changed,mkimage) |
Patrick Delaunay | 1051f1a | 2019-01-28 11:13:27 +0100 | [diff] [blame] | 14 | |
| 15 | u-boot-spl.stm32 : spl/u-boot-spl.stm32 |
| 16 | $(call if_changed,copy) |