> --- /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.