On Sat, 16 Feb 2008, Sam Ravnborg wrote: > On Sat, Feb 16, 2008 at 04:44:44PM -0500, Robert P. J. Day wrote: > > On Sat, 16 Feb 2008, Sam Ravnborg wrote: > > > > > On Sat, Feb 16, 2008 at 04:21:18PM -0500, Robert P. J. Day wrote: > > > > > > > > IIRC, there are a number of deprecated variables and preferred > > > > forms, along the lines of: > > > > > > > > ccflags-y -> EXTRA_CFLAGS > > > > asflags-y -> EXTRA_AFLAGS > > > > > > ccflags-y, asflags are preferred. > > > > ah, it goes the other way. (i'm assuming you really meant asflags-y > > above, and this would also include EXTRA_LDFLAGS -> ldflags-y, yes?) > > Yes - all three of them. And yes they have the -y postfix all of them. > > A simple git log Documentation/kbuild/makefiles.txt would have told > you the story and what is preferred. i *have* read that file and, after grepping through the source tree, i'm still confused. as a simple example, consider the possible variables for assembler flags. so far, i've found occurrences of: * AFLAGS * EXTRA_AFLAGS * ASFLAGS * AFLAGS-y * KBUILD_AFLAGS * aflags-y * asflags-y * extra-aflags-y should i continue? and you're suggesting that reading that docs file is going to clarify all of this? really? good luck. rday -- ======================================================================== Robert P. J. Day Linux Consulting, Training and Annoying Kernel Pedantry: Have classroom, will lecture. http://crashcourse.ca Waterloo, Ontario, CANADA ======================================================================== - 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