On Fri, Oct 07, 2011 at 12:31:33PM -0400, Steven Rostedt wrote: > On Fri, 2011-10-07 at 15:19 +0200, Uwe Kleine-König wrote: > > This has the upside that distributions only have to ship the recordmcount > > binary to allow building modules instead of recordmcount and it's sources. > > > > Make still notices that the object files need to be rebuilt when > > recordmcount's sources change. > > This doesn't work. Try it on a clean build: > > HOSTCC scripts/basic/fixdep > GEN /home/rostedt/work/git/tmp/Makefile > HOSTCC scripts/kconfig/conf.o > SHIPPED scripts/kconfig/zconf.tab.c > SHIPPED scripts/kconfig/lex.zconf.c > SHIPPED scripts/kconfig/zconf.hash.c > HOSTCC scripts/kconfig/zconf.tab.o > HOSTLD scripts/kconfig/conf > scripts/kconfig/conf --silentoldconfig Kconfig > Using /home/rostedt/work/git/linux-rt.git as source for kernel > GEN /home/rostedt/work/git/tmp/Makefile > CHK include/linux/version.h > UPD include/linux/version.h > CHK include/generated/utsrelease.h > UPD include/generated/utsrelease.h > CC kernel/bounds.s > GEN include/generated/bounds.h > CC arch/x86/kernel/asm-offsets.s > GEN include/generated/asm-offsets.h > CALL /home/rostedt/work/git/linux-rt.git/scripts/checksyscalls.sh > make[3]: *** No rule to make target `scripts/mod/empty.o', needed by `scripts/mod/elfconfig.h'. Stop. > make[2]: *** [scripts/mod] Error 2 > make[1]: *** [scripts] Error 2 > make: *** [sub-make] Error 2 Works for me with 3ee72ca + my patch doing: make -C /path/to/my/linux/src/dir defconfig O=$(pwd) make -j 6 If you tell me your exact setup I'll try to reproduce and fix. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html