Re: oom-killer problem

From: Kyle Moffett
Date: Tue Jul 04 2006 - 23:58:30 EST


On Jun 27, 2006, at 21:42:13, Keith Owens wrote:
Linus Torvalds (on Tue, 27 Jun 2006 18:15:46 -0700 (PDT)) wrote:
Ie, I'd personally be happier with a

modname = $(basename $(basetarget) .mod)

kind of thing (yeah, this obviously does _not_ work)

modname = $(patsubst %.mod,%,$(basetarget))

Sorry to come in so late on this; this email's been sitting in my outbox for a week. Here's a mildly simpler alternative:

modname = $(basetarget:.mod=)

A slightly more flexible alternative:

modname = $(basetarget:%.mod=%)

Cheers,
Kyle Moffett

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/