]> Git Repo - linux.git/commitdiff
riscv: add arch/riscv/Kbuild
authorMasahiro Yamada <[email protected]>
Wed, 21 Aug 2019 09:26:58 +0000 (18:26 +0900)
committerPaul Walmsley <[email protected]>
Sat, 31 Aug 2019 00:34:00 +0000 (17:34 -0700)
Use the standard obj-y form to specify the sub-directories under
arch/riscv/. No functional change intended.

Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Paul Walmsley <[email protected]>
arch/riscv/Kbuild [new file with mode: 0644]
arch/riscv/Makefile

diff --git a/arch/riscv/Kbuild b/arch/riscv/Kbuild
new file mode 100644 (file)
index 0000000..d1d0aa7
--- /dev/null
@@ -0,0 +1,3 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+obj-y += kernel/ mm/ net/
index 7a117be8297c89253fbe0ce07397a10a25181238..a73659e30f8d7f0e56144f08f9e451130b928313 100644 (file)
@@ -72,7 +72,7 @@ KBUILD_IMAGE  := $(boot)/Image.gz
 
 head-y := arch/riscv/kernel/head.o
 
-core-y += arch/riscv/kernel/ arch/riscv/mm/ arch/riscv/net/
+core-y += arch/riscv/
 
 libs-y += arch/riscv/lib/
 
This page took 0.044187 seconds and 4 git commands to generate.