Skip to content

Commit e481281

Browse files
sixtakuIsaac J. Manjarres
authored and
Isaac J. Manjarres
committed
scripts: Makefile: Add multi overlay dtbo-base apply verify
Current board device tree overlay verify only support single soc device tree dtb. Add support overlay apply verify for multi soc device tree dtb in dtbo-base. Change-Id: Idca1c57969303f701be37550da23c117cbd90470 Signed-off-by: Maria Yu <[email protected]>
1 parent 328baae commit e481281

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: scripts/Makefile.dtbo

+6-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ dtbo := $(addprefix $(obj)/,$(dtbo))
1010
ifneq ($(DTC_OVERLAY_TEST_EXT),)
1111
DTC_OVERLAY_TEST = $(DTC_OVERLAY_TEST_EXT)
1212
quiet_cmd_dtbo_verify = VERIFY $@
13-
cmd_dtbo_verify = $(DTC_OVERLAY_TEST) $(addprefix $(obj)/,$($(@F)-base)) $@ $(dot-target).tmp
13+
cmd_dtbo_verify = $(foreach m,\
14+
$(addprefix $(obj)/,$($(@F)-base)),\
15+
$(if $(m),\
16+
$(DTC_OVERLAY_TEST) $(m) $@ \
17+
$(dot-target).$(patsubst $(obj)/%.dtb,%,$(m)).tmp;))\
18+
true
1419
else
1520
cmd_dtbo_verify = true
1621
endif

0 commit comments

Comments
 (0)