diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-08-21 12:26:58 +0300 |
---|---|---|
committer | Paul Walmsley <paul.walmsley@sifive.com> | 2019-08-31 03:34:00 +0300 |
commit | 909548d6c5789dbd6cd4c7a6b32fcf0ae974f5ee (patch) | |
tree | 82bcec5e56b07696d77033e9389e8e6a33f67396 /arch/riscv | |
parent | d95f1a542c3df396137afa217ef9bd39cb8931ca (diff) | |
download | linux-909548d6c5789dbd6cd4c7a6b32fcf0ae974f5ee.tar.xz |
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>
Diffstat (limited to 'arch/riscv')
-rw-r--r-- | arch/riscv/Kbuild | 3 | ||||
-rw-r--r-- | arch/riscv/Makefile | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/riscv/Kbuild b/arch/riscv/Kbuild new file mode 100644 index 000000000000..d1d0aa70fdf1 --- /dev/null +++ b/arch/riscv/Kbuild @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + +obj-y += kernel/ mm/ net/ diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile index 7a117be8297c..a73659e30f8d 100644 --- a/arch/riscv/Makefile +++ b/arch/riscv/Makefile @@ -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/ |