Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea37f3c4 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "scripts: Makefile: Add multi overlay dtbo-base apply verify"

parents 09bdee2d 2478b612
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,4 +35,4 @@ endif

always		:= $(dtb-y)
subdir-y	:= $(dts-dirs)
clean-files    := *.dtb
clean-files    := *.dtb *.dtbo
+6 −1
Original line number Diff line number Diff line
@@ -11,7 +11,12 @@ dtbo := $(addprefix $(obj)/,$(dtbo))
ifneq ($(DTC_OVERLAY_TEST_EXT),)
DTC_OVERLAY_TEST = $(DTC_OVERLAY_TEST_EXT)
quiet_cmd_dtbo_verify	= VERIFY  $@
cmd_dtbo_verify = $(DTC_OVERLAY_TEST) $(addprefix $(obj)/,$($(@F)-base)) $@ $(dot-target).dtb
cmd_dtbo_verify = $(foreach m,\
	$(addprefix $(obj)/,$($(@F)-base)),\
		$(if $(m),\
			$(DTC_OVERLAY_TEST) $(m) $@ \
			$(dot-target).$(patsubst $(obj)/%.dtb,%,$(m)).tmp;))\
			true
else
cmd_dtbo_verify = true
endif