diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-04-23 09:39:08 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-27 14:55:29 -0400 |
commit | 0015e6defe66022b38c4fe0e2c793728ab2c3cdd (patch) | |
tree | cf77c60bde608bd01f4b7a867b6f572641a4f177 /Makefile | |
parent | 31d275b095e2c8c5607ab0e95e8342be7071ddf6 (diff) | |
download | u-boot-0015e6defe66022b38c4fe0e2c793728ab2c3cdd.tar.gz |
Makefile: copy SPL_FIT_SOURCE in build directoryWIP/2020-04-27-master-imports
Copy the .its source file selected by CONFIG_SPL_FIT_SOURCE
in builddir and in a file named "u-boot.its".
This patch avoid compilation issue when CONFIG_SPL_FIT_SOURCE is used
and KBUILD_OUTPUT is defined, in buildman for example.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Tested-by: Marek Vasut <marex@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1322,7 +1322,9 @@ endif # Boards with more complex image requirements can provide an .its source file # or a generator script ifneq ($(CONFIG_SPL_FIT_SOURCE),"") -U_BOOT_ITS = $(subst ",,$(CONFIG_SPL_FIT_SOURCE)) +U_BOOT_ITS := u-boot.its +$(U_BOOT_ITS): $(subst ",,$(CONFIG_SPL_FIT_SOURCE)) + $(call if_changed,copy) else ifneq ($(CONFIG_SPL_FIT_GENERATOR),"") U_BOOT_ITS := u-boot.its |