Re: make -C tools clean failure on older systems

From: Arnaldo Carvalho de Melo
Date: Thu May 14 2015 - 16:00:40 EST


Em Thu, May 14, 2015 at 07:42:22PM +0200, Ingo Molnar escreveu:
> * Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:
> > > > # Makefile doesn't have explicit build rules.
> > > > ifeq (1,$(MAKELEVEL))
> > > > -undefine LDFLAGS
> > > > +override LDFLAGS =
> > > > override MAKEFLAGS =

> > > I recall testing with override and remember it to not work. If you would

> > bummer, then its not that easy, I thought it was an oversight, but
> > if you tested it and it didn't work, nevermind, no need, I guess, to
> > support older systems if it requires more, non trivial, work.

> So what's the 'make' version cutoff for this capability?

> We should not require insane hacks, the minimum required make version
> for the kernel, as per Documentation/Changes, is v3.80:

> o GNU make 3.80 # make --version

3.81 is what is used where I found the problem.

With his confirmation that one of the two variants that he used on the
same patch to do what seemingly has the same effect for the problem at
hand, the one that is supported in make 3.81 (RHEL5), all is well :-)

- Arnaldo
--
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/