Newer
Older
barebox / arch / riscv / dts / Makefile
@Antony Pavlov Antony Pavlov on 7 Jan 2019 384 bytes RISC-V: add Erizo SoC support
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
ifneq ($(BUILTIN_DTB),)
obj-dtb-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
endif

obj-dtb-$(CONFIG_BOARD_ERIZO_GENERIC) += erizo-generic.dtb.o

# just to build a built-in.o. Otherwise compilation fails when no devicetree is
# created.
obj- += dummy.o

always := $(dtb-y)
clean-files := *.dtb *.dtb.S .*.dtc .*.pre .*.dts