mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 02:38:56 +00:00
95300f203f
This commit extends the sandbox to implement a dummy extension_board_scan() function and enables the extension command in the sandbox configuration. It then adds a test that checks the proper functionality of the extension command by applying two Device Tree overlays to the sandbox Device Tree. Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> [trini: Limit to running on sandbox] Signed-off-by: Tom Rini <trini@konsulko.com>
19 lines
366 B
Makefile
19 lines
366 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
|
|
dtb-$(CONFIG_CMD_EXTENSION) += overlay0.dtbo overlay1.dtbo
|
|
|
|
targets += $(dtb-y)
|
|
|
|
DTC_FLAGS += -R 4 -p 0x1000
|
|
|
|
PHONY += dtbs
|
|
dtbs: $(addprefix $(obj)/, $(dtb-y))
|
|
@:
|
|
|
|
clean-files := *.dtb
|