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 | |
Thomas Chou | 0d5f5e1 | 2015-10-18 19:42:09 +0800 | [diff] [blame] | 3 | dtb-y += $(CONFIG_DEFAULT_DEVICE_TREE:"%"=%).dtb |
| 4 | |
Rasmus Villemoes | c8481ef | 2022-01-10 14:34:41 +0100 | [diff] [blame] | 5 | include $(srctree)/scripts/Makefile.dts |
| 6 | |
Thomas Chou | 0d5f5e1 | 2015-10-18 19:42:09 +0800 | [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 |