riscv: add arch/riscv/Kbuild

Use the standard obj-y form to specify the sub-directories under
arch/riscv/. No functional change intended.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
This commit is contained in:
Masahiro Yamada 2019-08-21 18:26:58 +09:00 committed by Paul Walmsley
parent d95f1a542c
commit 909548d6c5
2 changed files with 4 additions and 1 deletions

3
arch/riscv/Kbuild Normal file
View File

@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only
obj-y += kernel/ mm/ net/

View 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/