From 1e3939ca58051b54d547b38eb0296f14eab28158 Mon Sep 17 00:00:00 2001 From: Woody Lin Date: Tue, 19 Jun 2018 06:41:42 +0000 Subject: [PATCH] build-dtbo: Support base dtbs which located in foreign folder The temp output file path of command `DTC_OVERLAY_TEST' is $(dot-target)..tmp. That is, when has ```/''' included (e.g.: ../vendor/chipset-ver.xyz.dtb), the `DTC_OVERLAY_TEST' might return fail because destination dir is yet created for writing the output file. This change substitutes all the ```/''' in into ```-''' to fix this problem. Change-Id: I921e41982f11ba1d95668849f28a74370ed6700c Signed-off-by: Woody Lin Signed-off-by: UtsavBalar1231 Signed-off-by: CloudedQuartz Signed-off-by: azrim --- scripts/Makefile.dtbo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.dtbo b/scripts/Makefile.dtbo index d7938c336e25..0fb20fe8350b 100644 --- a/scripts/Makefile.dtbo +++ b/scripts/Makefile.dtbo @@ -14,7 +14,7 @@ cmd_dtbo_verify = $(foreach m,\ $(addprefix $(obj)/,$($(@F)-base)),\ $(if $(m),\ $(DTC_OVERLAY_TEST) $(m) $@ \ - $(dot-target).$(patsubst $(obj)/%.dtb,%,$(m)).tmp;))\ + $(dot-target).$(subst /,-,$(patsubst $(obj)/%.dtb,%,$(m))).tmp;))\ true else cmd_dtbo_verify = true