Re: [PATCH V6 01/33] csky: Build infrastructure

From: Guo Ren
Date: Sat Sep 29 2018 - 13:21:14 EST


On Fri, Sep 28, 2018 at 09:11:10AM -0700, Christoph Hellwig wrote:
> > --- /dev/null
> > +++ b/arch/csky/kernel/Makefile
> > @@ -0,0 +1,8 @@
> > +extra-y := head.o vmlinux.lds
> > +
> > +obj-y += entry.o atomic.o signal.o traps.o irq.o time.o vdso.o \
> > + power.o syscall.o platform.o syscall_table.o setup.o \
> > + process.o cpu-probe.o ptrace.o dumpstack.o
> > +
> > +obj-$(CONFIG_MODULES) += module.o
>
> You can't just wire up the build infrastructure before th code.
>
> Please add the objects to the Makefiles when they are actually added.
I don't got it? Patchset should be seperated by makefile dir?