diff options
| author | Marek Vasut <marex@denx.de> | 2024-10-04 02:10:42 +0200 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-10-14 19:32:04 -0600 |
| commit | d2061828a4c1b60b44cd2307b6a782ac2efbffbe (patch) | |
| tree | d82e869ea83c34a68111408d6ee2a14277ff17d1 /scripts | |
| parent | d467f359c4c875a96857ced2b660b4d185b4714f (diff) | |
dts: Deduplicate dtbs target
The dtbs: target is almost identical in all architecture Makefiles.
All architecture Makefiles include scripts/Makefile.dts . Deduplicate
the dtbs: target into scripts/Makefile.dts . No functional change.
Reviewed-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Caleb Connolly <caleb.connolly@linaro.org> #qcom, OF_UPSTREAM
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/Makefile.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/Makefile.dts b/scripts/Makefile.dts index 790f3c508f1..1fe142f2bbf 100644 --- a/scripts/Makefile.dts +++ b/scripts/Makefile.dts @@ -14,3 +14,11 @@ dtb-vendor_dts := $(patsubst %.dts,%.dtb,$(wildcard $(dt_dir)/$(subst ",,$(CONFI dtb-y += $(subst $(dt_dir)/,,$(dtb-vendor_dts)) endif + +targets += $(dtb-y) + +PHONY += dtbs +dtbs: $(addprefix $(obj)/, $(dtb-y)) + @: + +clean-files := *.dtb *.dtbo */*.dtb */*.dtbo *_HS |
