blob: a09f11b71e663d59f5f636339c0fb24704563b34 [file] [log] [blame]
Vineet Gupta999159a2013-01-22 17:00:52 +05301# Built-in dtb
Vineet Guptafd155792015-02-20 19:12:18 +05302builtindtb-y := nsim_700
Vineet Gupta999159a2013-01-22 17:00:52 +05303
4ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
5 builtindtb-y := $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME))
6endif
7
8obj-y += $(builtindtb-y).dtb.o
Rob Herring10375cc2015-10-08 10:10:53 -05009dtb-y := $(builtindtb-y).dtb
Vineet Gupta999159a2013-01-22 17:00:52 +053010
Vineet Guptaa89516b2013-04-16 08:43:58 +053011.SECONDARY: $(obj)/$(builtindtb-y).dtb.S
12
Rob Herringb83abc82015-10-06 17:51:00 -050013dtstree := $(srctree)/$(src)
14dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
Vineet Gupta999159a2013-01-22 17:00:52 +053015
Rob Herring10375cc2015-10-08 10:10:53 -050016always := $(dtb-y)
Vineet Guptaa89516b2013-04-16 08:43:58 +053017clean-files := *.dtb *.dtb.S