xref: /openbmc/linux/arch/arc/boot/dts/Makefile (revision ce0eff0d)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2999159a5SVineet Gupta# Built-in dtb
3fd155792SVineet Guptabuiltindtb-y		:= nsim_700
4999159a5SVineet Gupta
5999159a5SVineet Guptaifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
6999159a5SVineet Gupta	builtindtb-y	:= $(patsubst "%",%,$(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