
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
15 lines
369 B
Makefile
15 lines
369 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
|
|
ifdef CONFIG_SANDBOX64
|
|
dtb-$(CONFIG_SANDBOX) += sandbox64.dtb
|
|
else
|
|
dtb-$(CONFIG_SANDBOX) += sandbox.dtb
|
|
endif
|
|
dtb-$(CONFIG_UT_DM) += test.dtb other.dtb
|
|
dtb-$(CONFIG_CMD_EXTENSION) += overlay0.dtbo overlay1.dtbo
|
|
|
|
include $(srctree)/scripts/Makefile.dts
|
|
|
|
# Add any required device tree compiler flags here
|
|
DTC_FLAGS += -R 4 -p 0x1000
|