xref: /openbmc/u-boot/arch/arm/mach-stm32mp/config.mk (revision db4a2999)
1# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause
2#
3# Copyright (C) 2018, STMicroelectronics - All Rights Reserved
4#
5
6ALL-$(CONFIG_SPL_BUILD) += u-boot-spl.stm32
7
8MKIMAGEFLAGS_u-boot-spl.stm32 = -T stm32image -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE)
9
10spl/u-boot-spl.stm32: MKIMAGEOUTPUT = spl/u-boot-spl.stm32.log
11
12spl/u-boot-spl.stm32: spl/u-boot-spl.bin FORCE
13	$(call if_changed,mkimage)
14
15u-boot-spl.stm32 : spl/u-boot-spl.stm32
16	$(call if_changed,copy)
17