mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
9859d89b6e
We need an 'other' FDT which is different from the control FDT, so we can check that the ofnode tests correctly handle them both. Add this to the build along with a way to read it into the sandbox state. Signed-off-by: Simon Glass <sjg@chromium.org>
21 lines
417 B
Makefile
21 lines
417 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
|
|
|
|
targets += $(dtb-y)
|
|
|
|
DTC_FLAGS += -R 4 -p 0x1000
|
|
|
|
PHONY += dtbs
|
|
dtbs: $(addprefix $(obj)/, $(dtb-y))
|
|
@:
|
|
|
|
clean-files := *.dtb
|