summaryrefslogtreecommitdiff
path: root/arch/openrisc/boot/Makefile
blob: 09958358601a3637ec4d811826b3f84fea1a6f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""'
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o
else
BUILTIN_DTB :=
endif
obj-y += $(BUILTIN_DTB)

clean-files := *.dtb.S

#DTC_FLAGS ?= -p 1024

$(obj)/%.dtb: $(src)/dts/%.dts FORCE
	$(call if_changed_dep,dtc)