1dtstree := $(srctree)/$(src) 2 3ifneq '$(CONFIG_CSKY_BUILTIN_DTB)' '""' 4builtindtb-y := $(patsubst "%",%,$(CONFIG_CSKY_BUILTIN_DTB)) 5dtb-y += $(builtindtb-y).dtb 6obj-y += $(builtindtb-y).dtb.o 7.SECONDARY: $(obj)/$(builtindtb-y).dtb.S 8else 9dtb-y := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts)) 10endif 11 12always += $(dtb-y) 13clean-files += *.dtb *.dtb.S 14