Makefile: copy SPL_FIT_SOURCE in build directory
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>
This commit is contained in:
parent
31d275b095
commit
0015e6defe
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -1322,7 +1322,9 @@ endif
|
||||||
# Boards with more complex image requirements can provide an .its source file
|
# Boards with more complex image requirements can provide an .its source file
|
||||||
# or a generator script
|
# or a generator script
|
||||||
ifneq ($(CONFIG_SPL_FIT_SOURCE),"")
|
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
|
else
|
||||||
ifneq ($(CONFIG_SPL_FIT_GENERATOR),"")
|
ifneq ($(CONFIG_SPL_FIT_GENERATOR),"")
|
||||||
U_BOOT_ITS := u-boot.its
|
U_BOOT_ITS := u-boot.its
|
||||||
|
|
Loading…
Reference in a new issue