Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
Tom Rini | da58dec | 2015-11-10 01:06:16 +0000 | [diff] [blame] | 2 | |
Michal Simek | 41f59f6 | 2017-02-15 08:22:04 +0100 | [diff] [blame] | 3 | dtb-y += $(shell echo $(CONFIG_DEFAULT_DEVICE_TREE)).dtb |
Masahiro Yamada | 3284c8b | 2014-02-05 11:28:27 +0900 | [diff] [blame] | 4 | |
Rasmus Villemoes | 3609e1d | 2022-01-10 14:34:41 +0100 | [diff] [blame^] | 5 | include $(srctree)/scripts/Makefile.dts |
| 6 | |
Masahiro Yamada | 3284c8b | 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 |