Makefile 406 字节
Newer Older
V
Vineet Gupta 已提交
1
# Built-in dtb
V
Vineet Gupta 已提交
2
builtindtb-y		:= nsim_700
V
Vineet Gupta 已提交
3 4 5 6 7 8

ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
	builtindtb-y	:= $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME))
endif

obj-y   += $(builtindtb-y).dtb.o
9
dtb-y := $(builtindtb-y).dtb
V
Vineet Gupta 已提交
10

11 12
.SECONDARY: $(obj)/$(builtindtb-y).dtb.S

R
Rob Herring 已提交
13 14
dtstree		:= $(srctree)/$(src)
dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
V
Vineet Gupta 已提交
15

16
always := $(dtb-y)