Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-09-03 Thread Masahiro Yamada
On Mon, Sep 2, 2019 at 4:42 PM Christoph Hellwig wrote: > > On Sat, Aug 31, 2019 at 10:04:53PM +0900, Masahiro Yamada wrote: > > Kbuild support two file names, "Makefile" and "Kbuild" > > for describing obj-y, obj-m, etc. > > I I think I full understand> > > > Similarly, arch/$(SRCARCH)/Makefile

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-09-02 Thread Christoph Hellwig
On Sat, Aug 31, 2019 at 10:04:53PM +0900, Masahiro Yamada wrote: > Kbuild support two file names, "Makefile" and "Kbuild" > for describing obj-y, obj-m, etc. > Similarly, arch/$(SRCARCH)/Makefile is very special > in that it is included from the top-level Makefile, > and specify arch-specific

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-08-31 Thread Masahiro Yamada
On Sat, Aug 31, 2019 at 12:53 AM Christoph Hellwig wrote: > > On Tue, Aug 27, 2019 at 02:14:59PM +0900, Masahiro Yamada wrote: > > There is a small documentation about "Makefile" vs "Kbuild" > > in Documentation/kbuild/modules.rst section 3.2 > > I know that part. > > > > > It is talking about

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-08-30 Thread Paul Walmsley
On Wed, 21 Aug 2019, Masahiro Yamada wrote: > Use the standard obj-y form to specify the sub-directories under > arch/riscv/. No functional change intended. > > Signed-off-by: Masahiro Yamada Thanks, queued for v5.4-rc1. - Paul

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-08-30 Thread Christoph Hellwig
On Tue, Aug 27, 2019 at 02:14:59PM +0900, Masahiro Yamada wrote: > There is a small documentation about "Makefile" vs "Kbuild" > in Documentation/kbuild/modules.rst section 3.2 I know that part. > > It is talking about external modules, but the benefit applies > to arch/$(SRCARCH)/Kbuild as

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-08-26 Thread Masahiro Yamada
On Mon, Aug 26, 2019 at 8:35 PM Christoph Hellwig wrote: > > On Wed, Aug 21, 2019 at 06:26:58PM +0900, Masahiro Yamada wrote: > > Use the standard obj-y form to specify the sub-directories under > > arch/riscv/. No functional change intended. > > > > Signed-off-by: Masahiro Yamada > > Do you

Re: [PATCH] riscv: add arch/riscv/Kbuild

2019-08-26 Thread Christoph Hellwig
On Wed, Aug 21, 2019 at 06:26:58PM +0900, Masahiro Yamada wrote: > Use the standard obj-y form to specify the sub-directories under > arch/riscv/. No functional change intended. > > Signed-off-by: Masahiro Yamada Do you have a document what the grand scheme here is? Less of the magic in

[PATCH] riscv: add arch/riscv/Kbuild

2019-08-21 Thread Masahiro Yamada
Use the standard obj-y form to specify the sub-directories under arch/riscv/. No functional change intended. Signed-off-by: Masahiro Yamada --- arch/riscv/Kbuild | 3 +++ arch/riscv/Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 arch/riscv/Kbuild diff