* [PATCH 1/1] tools selftests: Fix 'clean' target with make 3.81
@ 2015-05-14 19:55 Arnaldo Carvalho de Melo
2015-05-14 22:16 ` Shuah Khan
0 siblings, 1 reply; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-05-14 19:55 UTC (permalink / raw)
To: Shuah Khan
Cc: David Ahern, Ingo Molnar, Michael Ellerman,
Linux Kernel Mailing List
Make 3.81 doesn't have the 'undefine' command, use 'override var ='
instead.
Tested-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: http://lkml.kernel.org/r/20150514151225.GH23588@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
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
--
2.1.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] tools selftests: Fix 'clean' target with make 3.81
2015-05-14 19:55 [PATCH 1/1] tools selftests: Fix 'clean' target with make 3.81 Arnaldo Carvalho de Melo
@ 2015-05-14 22:16 ` Shuah Khan
2015-05-14 22:19 ` Arnaldo Carvalho de Melo
0 siblings, 1 reply; 3+ messages in thread
From: Shuah Khan @ 2015-05-14 22:16 UTC (permalink / raw)
To: Arnaldo Carvalho de Melo
Cc: David Ahern, Ingo Molnar, Michael Ellerman,
Linux Kernel Mailing List, Shuah Khan
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 <shuahkh@osg.samsung.com>
> Cc: David Ahern <dsahern@gmail.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Link: http://lkml.kernel.org/r/20150514151225.GH23588@kernel.org
> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] tools selftests: Fix 'clean' target with make 3.81
2015-05-14 22:16 ` Shuah Khan
@ 2015-05-14 22:19 ` Arnaldo Carvalho de Melo
0 siblings, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2015-05-14 22:19 UTC (permalink / raw)
To: Shuah Khan
Cc: David Ahern, Ingo Molnar, Michael Ellerman,
Linux Kernel Mailing List
Em Thu, May 14, 2015 at 04:16:51PM -0600, Shuah Khan escreveu:
> On 05/14/2015 01:55 PM, Arnaldo Carvalho de Melo wrote:
> > +++ b/tools/testing/selftests/Makefile
> > @@ -27,7 +27,7 @@ TARGETS_HOTPLUG += memory-hotplug
> > ifeq (1,$(MAKELEVEL))
> > -undefine LDFLAGS
> > +override LDFLAGS =
> > override MAKEFLAGS =
> I will get this into 4.2 unless you think there is real
> need for this to go into 4.1 right away.
Send it when its most convenient to you, this is trivial, odd corner
case stuff.
- Arnaldo
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-05-14 22:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-14 19:55 [PATCH 1/1] tools selftests: Fix 'clean' target with make 3.81 Arnaldo Carvalho de Melo
2015-05-14 22:16 ` Shuah Khan
2015-05-14 22:19 ` Arnaldo Carvalho de Melo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).