xref: /linux/arch/arc/boot/dts/Makefile (revision 7e7962dd1a5307bca1793a3f9a98ad5514306c7a)
1999159a5SVineet Gupta# Built-in dtb
2fd155792SVineet Guptabuiltindtb-y		:= nsim_700
3999159a5SVineet Gupta
4999159a5SVineet Guptaifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
5999159a5SVineet Gupta	builtindtb-y	:= $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME))
6999159a5SVineet Guptaendif
7999159a5SVineet Gupta
8999159a5SVineet Guptaobj-y   += $(builtindtb-y).dtb.o
910375cccSRob Herringdtb-y := $(builtindtb-y).dtb
10999159a5SVineet Gupta
11a89516b3SVineet Gupta.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
12a89516b3SVineet Gupta
13*7e7962ddSMasahiro Yamada# for CONFIG_OF_ALL_DTBS test
14b83abc8cSRob Herringdtstree	:= $(srctree)/$(src)
15*7e7962ddSMasahiro Yamadadtb-	:= $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
16