Re: make -C tools clean failure on older systems

From: Ingo Molnar
Date: Thu May 14 2015 - 13:42:32 EST



* Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> wrote:

> > > @@ -27,7 +27,7 @@ TARGETS_HOTPLUG += memory-hotplug
> > > # Makefile to avoid test build failures when test
> > > # Makefile doesn't have explicit build rules.
> > > ifeq (1,$(MAKELEVEL))
> > > -undefine LDFLAGS
> > > +override LDFLAGS =
> > > override MAKEFLAGS =
> > > endif
> >
> > 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

Thanks,

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