1 # SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
3 # Copyright (C) 2018, STMicroelectronics - All Rights Reserved
6 ALL-$(CONFIG_SPL_BUILD) += u-boot-spl.stm32
8 MKIMAGEFLAGS_u-boot-spl.stm32 = -T stm32image -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE)
10 spl/u-boot-spl.stm32: MKIMAGEOUTPUT = spl/u-boot-spl.stm32.log
12 spl/u-boot-spl.stm32: spl/u-boot-spl.bin FORCE
13 $(call if_changed,mkimage)
15 u-boot-spl.stm32 : spl/u-boot-spl.stm32
16 $(call if_changed,copy)