Messages in this thread | | | From | Andreas Gruenbacher <> | Subject | Re: kbuild: shorthand ym2y, ym2m etc | Date | Mon, 31 Jan 2005 02:57:10 +0100 |
| |
On Sunday 30 January 2005 20:37, Sam Ravnborg wrote: > We have in several cases the need to transpose a i'm' to 'y' in the Kbuild > files.
I assume you mean what you write in the text rather than what the example shows. If so, why not use this:
obj-$(CONFIG_SND:m=y) += last.o
> One example is the following snippet from sound/Makefile: > ifeq ($(CONFIG_SND),y) > obj-y += last.o > endif > > [...] > > To be complete the full set would be: > > ym2y > ym2m > empty2y > empty2m > y2y > m2y > y2m > m2m > yx2x > mx2x > > > Would that be considered usefull?
That would take the kbuild makefile obfuscation contest to the next level. Who should understand that stuff?
Cheers, -- Andreas Gruenbacher <agruen@suse.de> SUSE Labs, SUSE LINUX PRODUCTS GMBH - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |