[RFC,11/13] ARM: dts: ti: add FIT image dependencies

Message ID 1523956215-28154-12-git-send-email-t-kristo@ti.com
State New
Headers show
Series
  • ARM: dts: DT overlay support infra + some data
Related show

Commit Message

Tero Kristo April 17, 2018, 9:10 a.m.
Add the local FIT image dependencies file to build. This allows building
the FIT image dependency file before building the FIT image, and to build
the dependencies themselves also next. Without this, none of the binaries
required by the FIT image will be found.

Also, add the built FIT images to the clean targets.

Signed-off-by: Tero Kristo <t-kristo@ti.com>

---
 arch/arm/boot/dts/ti/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
1.9.1

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/arch/arm/boot/dts/ti/Makefile b/arch/arm/boot/dts/ti/Makefile
index 7d2d411..3ba8164 100644
--- a/arch/arm/boot/dts/ti/Makefile
+++ b/arch/arm/boot/dts/ti/Makefile
@@ -1,6 +1,8 @@ 
 DTC_FLAGS += -@ -Wno-reg_format -Wno-avoid_default_addr_size
 
+-include $(obj)/.itb-deps.d
+
 $(obj)/%.dtb: $(src)/../%.dts FORCE
 	$(call if_changed_dep,dtc)
 
-clean-files	+= *.dtbo
+clean-files	+= *.dtbo *.itb