From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH V6 01/33] csky: Build infrastructure Date: Fri, 28 Sep 2018 09:11:10 -0700 Message-ID: <20180928161110.GA19827@infradead.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Guo Ren Cc: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, robh@kernel.org, robh+dt@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com List-Id: linux-arch.vger.kernel.org > --- /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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:55942 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728453AbeI1Wfr (ORCPT ); Fri, 28 Sep 2018 18:35:47 -0400 Date: Fri, 28 Sep 2018 09:11:10 -0700 From: Christoph Hellwig Subject: Re: [PATCH V6 01/33] csky: Build infrastructure Message-ID: <20180928161110.GA19827@infradead.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: Guo Ren Cc: akpm@linux-foundation.org, arnd@arndb.de, daniel.lezcano@linaro.org, davem@davemloft.net, gregkh@linuxfoundation.org, jason@lakedaemon.net, marc.zyngier@arm.com, mark.rutland@arm.com, mchehab+samsung@kernel.org, peterz@infradead.org, robh@kernel.org, robh+dt@kernel.org, tglx@linutronix.de, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, devicetree@vger.kernel.org, green.hu@gmail.com Message-ID: <20180928161110.3qBn7F3cEg5NjwadbaElb5lwosUdb4PZqwjPdO9Wghc@z> > --- /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.