Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Vineet Gupta | 999159a | 2013-01-22 17:00:52 +0530 | [diff] [blame] | 2 | # Built-in dtb |
Vineet Gupta | fd15579 | 2015-02-20 19:12:18 +0530 | [diff] [blame] | 3 | builtindtb-y := nsim_700 |
Vineet Gupta | 999159a | 2013-01-22 17:00:52 +0530 | [diff] [blame] | 4 | |
Masahiro Yamada | 129ab0d | 2021-12-14 11:53:53 +0900 | [diff] [blame] | 5 | ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),) |
| 6 | builtindtb-y := $(CONFIG_ARC_BUILTIN_DTB_NAME) |
Vineet Gupta | 999159a | 2013-01-22 17:00:52 +0530 | [diff] [blame] | 7 | endif |
| 8 | |
| 9 | obj-y += $(builtindtb-y).dtb.o |
Rob Herring | 10375cc | 2015-10-08 10:10:53 -0500 | [diff] [blame] | 10 | dtb-y := $(builtindtb-y).dtb |
Vineet Gupta | 999159a | 2013-01-22 17:00:52 +0530 | [diff] [blame] | 11 | |
Masahiro Yamada | 7e7962d | 2017-11-05 14:30:53 +0900 | [diff] [blame] | 12 | # for CONFIG_OF_ALL_DTBS test |
| 13 | dtstree := $(srctree)/$(src) |
| 14 | dtb- := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) |
Eugeniy Paltsev | ce0eff0d | 2019-07-22 12:31:45 +0300 | [diff] [blame] | 15 | |
| 16 | # board-specific dtc flags |
| 17 | DTC_FLAGS_hsdk += --pad 20 |