f8c4a270d9
Signed-off-by: Jonas Bonn <jonas@southpole.se> Reviewed-by: Arnd Bergmann <arnd@arndb.de>
15 lines
262 B
Makefile
15 lines
262 B
Makefile
|
|
|
|
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
|
|
$(call cmd,dtc)
|