We need to add "clean-files" in Makfiles to clean up DT blobs, but we often miss to do so. Since there are no source files that end with .dtb or .dtb.S, so we can clean-up those files from the top-level Makefile. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Rob Herring <robh@kernel.org>
9 lines
195 B
Makefile
9 lines
195 B
Makefile
dtb-$(CONFIG_XILFPGA_NEXYS4DDR) += nexys4ddr.dtb
|
|
|
|
obj-y += $(patsubst %.dtb, %.dtb.o, $(dtb-y))
|
|
|
|
# Force kbuild to make empty built-in.o if necessary
|
|
obj- += dummy.o
|
|
|
|
always := $(dtb-y)
|