Sumit Garg | f7e5284 | 2024-02-22 15:06:01 +0530 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
2 | |||||
3 | include $(srctree)/scripts/Makefile.dts | ||||
4 | |||||
5 | targets += $(dtb-y) | ||||
6 | |||||
7 | # Add any required device tree compiler flags here | ||||
8 | DTC_FLAGS += -a 0x8 | ||||
9 | |||||
Marek Vasut | 75292de | 2024-05-19 22:40:07 +0200 | [diff] [blame] | 10 | ifdef CONFIG_RCAR_64 |
11 | DTC_FLAGS += -R 4 -p 0x1000 | ||||
12 | endif | ||||
13 | |||||
Sumit Garg | f7e5284 | 2024-02-22 15:06:01 +0530 | [diff] [blame] | 14 | PHONY += dtbs |
15 | dtbs: $(addprefix $(obj)/, $(dtb-y)) | ||||
16 | @: | ||||
17 | |||||
18 | clean-files := */*.dtb */*.dtbo |