blob: 6cbc9bbcaa1ba9aae2dbe0a5a83775900ef730ff [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 Glass7e3a0c32015-05-23 11:53:57 -06008dtb-$(CONFIG_UT_DM) += test.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
21clean-files := *.dtb