1*b2441318SGreg 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 12a89516b3SVineet Gupta.SECONDARY: $(obj)/$(builtindtb-y).dtb.S 13a89516b3SVineet Gupta 14b83abc8cSRob Herringdtstree := $(srctree)/$(src) 15b83abc8cSRob Herringdtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) 16999159a5SVineet Gupta 1710375cccSRob Herringalways := $(dtb-y) 18a89516b3SVineet Guptaclean-files := *.dtb *.dtb.S 19