]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: stm32mp1: deploy spl in root folder
authorPatrick Delaunay <patrick.delaunay@st.com>
Mon, 28 Jan 2019 10:13:27 +0000 (11:13 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 29 Jan 2019 14:41:37 +0000 (09:41 -0500)
Update generation of spl binaries
- continue to generate all SPL files in spl sub-directory
- copy in root folder the needed file for user (YOCTO, buildroot):
  u-boot-spl.stm32

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
arch/arm/mach-stm32mp/config.mk

index 124729cd839d93f1e023e2679743219bf3f8ab2b..f371aac75bde48fd3025908ced7fb300ed1542fd 100644 (file)
@@ -7,7 +7,10 @@ ALL-$(CONFIG_SPL_BUILD) += u-boot-spl.stm32
 
 MKIMAGEFLAGS_u-boot-spl.stm32 = -T stm32image -a $(CONFIG_SPL_TEXT_BASE) -e $(CONFIG_SPL_TEXT_BASE)
 
-u-boot-spl.stm32: MKIMAGEOUTPUT = u-boot-spl.stm32.log
+spl/u-boot-spl.stm32: MKIMAGEOUTPUT = spl/u-boot-spl.stm32.log
 
-u-boot-spl.stm32: spl/u-boot-spl.bin FORCE
+spl/u-boot-spl.stm32: spl/u-boot-spl.bin FORCE
        $(call if_changed,mkimage)
+
+u-boot-spl.stm32 : spl/u-boot-spl.stm32
+       $(call if_changed,copy)