From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422846AbbENWQ5 (ORCPT ); Thu, 14 May 2015 18:16:57 -0400 Received: from lists.s-osg.org ([54.187.51.154]:36894 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422757AbbENWQz (ORCPT ); Thu, 14 May 2015 18:16:55 -0400 Message-ID: <55551ED3.5010909@osg.samsung.com> Date: Thu, 14 May 2015 16:16:51 -0600 From: Shuah Khan Organization: Samsung Open Source Group User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo CC: David Ahern , Ingo Molnar , Michael Ellerman , Linux Kernel Mailing List , Shuah Khan Subject: Re: [PATCH 1/1] tools selftests: Fix 'clean' target with make 3.81 References: <20150514195518.GB5965@kernel.org> In-Reply-To: <20150514195518.GB5965@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/14/2015 01:55 PM, Arnaldo Carvalho de Melo wrote: > Make 3.81 doesn't have the 'undefine' command, use 'override var =' > instead. > > Tested-by: Shuah Khan > Cc: David Ahern > Cc: Ingo Molnar > Cc: Michael Ellerman > Link: http://lkml.kernel.org/r/20150514151225.GH23588@kernel.org > Signed-off-by: Arnaldo Carvalho de Melo > --- > tools/testing/selftests/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/testing/selftests/Makefile b/tools/testing/selftests/Makefile > index 95abddcd7839..f76830643086 100644 > --- a/tools/testing/selftests/Makefile > +++ b/tools/testing/selftests/Makefile > @@ -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 will get this into 4.2 unless you think there is real need for this to go into 4.1 right away. thanks, -- Shuah -- Shuah Khan Sr. Linux Kernel Developer Open Source Innovation Group Samsung Research America (Silicon Valley) shuahkh@osg.samsung.com | (970) 217-8978