1 # SPDX-License-Identifier: GPL-2.0
3 builtindtb-y
:= nsim_700
5 ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME
),"")
6 builtindtb-y
:= $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME
))
9 obj-y
+= $(builtindtb-y
).dtb.o
10 dtb-y
:= $(builtindtb-y
).dtb
12 .SECONDARY
: $(obj
)/$(builtindtb-y
).dtb.S
14 dtstree
:= $(srctree
)/$(src
)
15 dtb-
$(CONFIG_OF_ALL_DTBS
) := $(patsubst $(dtstree
)/%.dts
,%.dtb
, $(wildcard $(dtstree
)/*.dts
))
18 clean-files
:= *.dtb
*.dtb.S