blob: 427a8f9aaca35f70923a6c15813b5cbb9ec1c6ef [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
Michal Simek41f59f62017-02-15 08:22:04 +01003dtb-y += $(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)).dtb
Masahiro Yamada3284c8b2014-02-05 11:28:27 +09004
Rasmus Villemoes3609e1d2022-01-10 14:34:41 +01005include $(srctree)/scripts/Makefile.dts
6
Masahiro Yamada3284c8b2014-02-05 11:28:27 +09007targets += $(dtb-y)
8
9DTC_FLAGS += -R 4 -p 0x1000
10
11PHONY += dtbs
12dtbs: $(addprefix $(obj)/, $(dtb-y))
13 @:
14
15clean-files := *.dtb