mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 10:05:18 +07:00
74ce1896c6
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
187 B
Makefile
9 lines
187 B
Makefile
ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""'
|
|
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o
|
|
else
|
|
BUILTIN_DTB :=
|
|
endif
|
|
obj-y += $(BUILTIN_DTB)
|
|
|
|
#DTC_FLAGS ?= -p 1024
|