On Tue, 2010-05-25 at 22:04 +0200, Sam Ravnborg wrote: > On Tue, May 25, 2010 at 03:39:29PM -0400, Steven Rostedt wrote: > Could we move this to a small well-commented helper script like > we do with gcc-version.sh? > > Then we could simply do something like this in the top-level Makefile: I'm fine with this idea. We just want to get rid of the binding a feature to a version number. > > # Check if gcc support' asm goto' > > ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-goto.sh $(CC))),y) > KBUILD_CFLAGS += -DCC_HAVE_ASM_GOTO > endif > > The top-level Makefile needs to be simpler - not more complicated. > > PS. I think Michal is away until the end of this month. Yeah, I got his away-from-office message. -- Steve -- 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