blob: f810b4752f5aafe5e6e618be7fdce170597443cb [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Tom Rini0cab3ec2015-11-10 01:06:16 +00002
Mario Six61efece2018-02-12 08:05:57 +01003ifdef CONFIG_SANDBOX64
4dtb-$(CONFIG_SANDBOX) += sandbox64.dtb
5else
Simon Glass66c164b2014-02-26 15:59:14 -07006dtb-$(CONFIG_SANDBOX) += sandbox.dtb
Mario Six61efece2018-02-12 08:05:57 +01007endif
Simon Glassf17b9672022-09-06 20:27:09 -06008dtb-$(CONFIG_UT_DM) += test.dtb other.dtb
Kory Maincent965a34f2021-05-04 19:31:23 +02009dtb-$(CONFIG_CMD_EXTENSION) += overlay0.dtbo overlay1.dtbo
Simon Glass66c164b2014-02-26 15:59:14 -070010
Rasmus Villemoesc8481ef2022-01-10 14:34:41 +010011include $(srctree)/scripts/Makefile.dts
12
Simon Glass66c164b2014-02-26 15:59:14 -070013targets += $(dtb-y)
14
15DTC_FLAGS += -R 4 -p 0x1000
16
17PHONY += dtbs
18dtbs: $(addprefix $(obj)/, $(dtb-y))
19 @:
20
Tobias Deimingerf9708be2023-06-20 00:41:06 +020021clean-files := *.dtb *.dtbo