xref: /openbmc/linux/arch/arc/boot/dts/Makefile (revision 129ab0d2)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2999159a5SVineet Gupta# Built-in dtb
3fd155792SVineet Guptabuiltindtb-y		:= nsim_700
4999159a5SVineet Gupta
5*129ab0d2SMasahiro Yamadaifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),)
6*129ab0d2SMasahiro Yamada	builtindtb-y	:= $(CONFIG_ARC_BUILTIN_DTB_NAME)
7999159a5SVineet Guptaendif
8999159a5SVineet Gupta
9999159a5SVineet Guptaobj-y   += $(builtindtb-y).dtb.o
1010375cccSRob Herringdtb-y := $(builtindtb-y).dtb
11999159a5SVineet Gupta
127e7962ddSMasahiro Yamada# for CONFIG_OF_ALL_DTBS test
13b83abc8cSRob Herringdtstree	:= $(srctree)/$(src)
147e7962ddSMasahiro Yamadadtb-	:= $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
15ce0eff0dSEugeniy Paltsev
16ce0eff0dSEugeniy Paltsev# board-specific dtc flags
17ce0eff0dSEugeniy PaltsevDTC_FLAGS_hsdk += --pad 20
18