From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030269AbbENUAi (ORCPT ); Thu, 14 May 2015 16:00:38 -0400 Received: from mail.kernel.org ([198.145.29.136]:60601 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030216AbbENUAg (ORCPT ); Thu, 14 May 2015 16:00:36 -0400 Date: Thu, 14 May 2015 17:00:32 -0300 From: Arnaldo Carvalho de Melo To: Ingo Molnar Cc: Shuah Khan , Michael Ellerman , David Ahern , Linux Kernel Mailing List Subject: Re: make -C tools clean failure on older systems Message-ID: <20150514200032.GC5965@kernel.org> References: <20150514151225.GH23588@kernel.org> <5554C1BF.7000408@osg.samsung.com> <20150514155453.GI23588@kernel.org> <20150514174222.GC19338@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150514174222.GC19338@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, May 14, 2015 at 07:42:22PM +0200, Ingo Molnar escreveu: > * Arnaldo Carvalho de Melo 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