Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | 0cab3ec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 2 | |
Michal Simek | cbdc1d4 | 2017-02-15 08:22:04 +0100 | [diff] [blame] | 3 | dtb-y += $(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)).dtb |
Masahiro Yamada | e7a579f | 2014-02-05 11:28:27 +0900 | [diff] [blame] | 4 | |
Rasmus Villemoes | c8481ef | 2022-01-10 14:34:41 +0100 | [diff] [blame^] | 5 | include $(srctree)/scripts/Makefile.dts |
| 6 | |
Masahiro Yamada | e7a579f | 2014-02-05 11:28:27 +0900 | [diff] [blame] | 7 | targets += $(dtb-y) |
| 8 | |
| 9 | DTC_FLAGS += -R 4 -p 0x1000 |
| 10 | |
| 11 | PHONY += dtbs |
| 12 | dtbs: $(addprefix $(obj)/, $(dtb-y)) |
| 13 | @: |
| 14 | |
| 15 | clean-files := *.dtb |