On 11/15/2010 10:55 PM, Nicholas A. Bellinger wrote: > On Mon, 2010-11-15 at 12:32 -0800, Nicholas A. Bellinger wrote: >> On Mon, 2010-11-15 at 14:43 -0500, Christoph Hellwig wrote: >>> Signed-off-by: Christoph Hellwig <hch@xxxxxx> >>> >> >> I was under the impression that $(srcdir)/Kbuild was the preferred >> modern name..? >> > > This is in fact mainline convention, commited as 9093542. > > Thanks! > > --nab [Rant below please ignore] >From Documentation/kbuild/makefiles.txt === 3 The kbuild files Most Makefiles within the kernel are kbuild Makefiles that use the kbuild infrastructure. This chapter introduces the syntax used in the kbuild makefiles. The preferred name for the kbuild files are 'Makefile' but 'Kbuild' can be used and if both a 'Makefile' and a 'Kbuild' file exists, then the 'Kbuild' file will be used. This has changed since the time I started. Back then that text was: The preferred name for the kbuild files are Kbuild If I go to a random subdirectory in the Kernel and do: [drivers/foo]$ make With a Kbuild file it outputs: make: *** No targets specified and no makefile found. Stop. With a Makefile it outputs: make: *** No targets. Stop. Sigh! For me a "Makefile" is a make's makefile. Kbuild files are not makefiles and should not be named as one. But that's a lost cause Boaz -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html