Skip to content

Commit

Permalink
riscv: add arch/riscv/Kbuild
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masahiro Yamada authored and Paul Walmsley committed Aug 31, 2019
1 parent d95f1a5 commit 909548d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions arch/riscv/Kbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# SPDX-License-Identifier: GPL-2.0-only

obj-y += kernel/ mm/ net/
2 changes: 1 addition & 1 deletion arch/riscv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/

Expand Down

0 comments on commit 909548d

Please sign in to comment.