summaryrefslogtreecommitdiffstats
path: root/arch/openrisc/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-01-17 09:03:32 +0100
committerStafford Horne <shorne@gmail.com>2021-01-18 12:53:14 +0100
commit803c72c8547c56917331057bff55703baeb59e8e (patch)
treee162cb7d1c3d72c4bad343b1fb5b1513b135674d /arch/openrisc/Makefile
parentdrivers/soc/litex: make 'litex_[set|get]_reg()' methods private (diff)
downloadlinux-803c72c8547c56917331057bff55703baeb59e8e.tar.xz
linux-803c72c8547c56917331057bff55703baeb59e8e.zip
openrisc: add arch/openrisc/Kbuild
Describe the subdirectories under arch/openrisc/ in arch/openrisc/Kbuild so you can use the standard obj-y syntax. I removed the CONFIG_OPENRISC_BUILTIN_DTB conditional because it is already controlled by arch/openrisc/boot/dts/Makefile. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/openrisc/Makefile')
-rw-r--r--arch/openrisc/Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/openrisc/Makefile b/arch/openrisc/Makefile
index b13404f1f8bd..410e7abfac69 100644
--- a/arch/openrisc/Makefile
+++ b/arch/openrisc/Makefile
@@ -42,18 +42,9 @@ endif
head-y := arch/openrisc/kernel/head.o
-core-y += arch/openrisc/lib/ \
- arch/openrisc/kernel/ \
- arch/openrisc/mm/
+core-y += arch/openrisc/
libs-y += $(LIBGCC)
-ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""'
-BUILTIN_DTB := y
-else
-BUILTIN_DTB := n
-endif
-core-$(BUILTIN_DTB) += arch/openrisc/boot/dts/
-
PHONY += vmlinux.bin
vmlinux.bin: vmlinux