lkml.org 
[lkml]   [2006]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: oom-killer problem
Date
On Wednesday 28 June 2006 03.42, Keith Owens wrote:
> Linus Torvalds (on Tue, 27 Jun 2006 18:15:46 -0700 (PDT)) wrote:
> >
> >
> >On Tue, 27 Jun 2006, Daniel Ritz wrote:
> >>
> >> # Default for not multi-part modules
> >> -modname = $(basetarget)
> >> +modname = $(basename $(basetarget))
> >
> >Is there some way to make it clear _what_ the suffix we expect to remove
> >actually is in GNU make? Ie the "shell" kind of "basename" logic.
> >
> >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))
>
> should do it (untested).
>

yep, works fine.
-
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/

\
 
 \ /
  Last update: 2006-06-28 15:39    [W:0.050 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site