blob: b6a88479b2281b53b988d8b1a33c7ebe06d27d8a [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001# SPDX-License-Identifier: GPL-2.0+
Tom Rinida58dec2015-11-10 01:06:16 +00002
Mario Sixc6b89f32018-02-12 08:05:57 +01003ifdef CONFIG_SANDBOX64
4dtb-$(CONFIG_SANDBOX) += sandbox64.dtb
5else
Simon Glass714a5622014-02-26 15:59:14 -07006dtb-$(CONFIG_SANDBOX) += sandbox.dtb
Mario Sixc6b89f32018-02-12 08:05:57 +01007endif
Simon Glass9859d892022-09-06 20:27:09 -06008dtb-$(CONFIG_UT_DM) += test.dtb other.dtb
Kory Maincent95300f22021-05-04 19:31:23 +02009dtb-$(CONFIG_CMD_EXTENSION) += overlay0.dtbo overlay1.dtbo
Simon Glass714a5622014-02-26 15:59:14 -070010
Rasmus Villemoes3609e1d2022-01-10 14:34:41 +010011include $(srctree)/scripts/Makefile.dts
12
Simon Glass714a5622014-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