All of lore.kernel.org
 help / color / mirror / Atom feed
* Patch "tools selftests: Fix 'clean' target with make 3.81" has been added to the 4.1-stable tree
@ 2015-07-16 23:52 gregkh
  0 siblings, 0 replies; only message in thread
From: gregkh @ 2015-07-16 23:52 UTC (permalink / raw)
  To: acme, acme, dsahern, gregkh, mingo, mpe, shuahkh, sudipm.mukherjee
  Cc: stable, stable-commits


This is a note to let you know that I've just added the patch titled

    tools selftests: Fix 'clean' target with make 3.81

to the 4.1-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     tools-selftests-fix-clean-target-with-make-3.81.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.


>From 60df4642a83546fa6ea8286f5094ce8c0906c3ec Mon Sep 17 00:00:00 2001
From: Arnaldo Carvalho de Melo <acme@kernel.org>
Date: Thu, 14 May 2015 16:55:18 -0300
Subject: tools selftests: Fix 'clean' target with make 3.81

From: Arnaldo Carvalho de Melo <acme@kernel.org>

commit 60df4642a83546fa6ea8286f5094ce8c0906c3ec upstream.

Make 3.81 doesn't have the 'undefine' command. Using undefine
to clear LDFLAGS fails when make version 3.81 is used. Fix it
to use override to clear LDFLAGS.

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>
Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 tools/testing/selftests/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


Patches currently in stable-queue which might be from acme@kernel.org are

queue-4.1/tools-selftests-fix-clean-target-with-make-3.81.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-07-16 23:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-16 23:52 Patch "tools selftests: Fix 'clean' target with make 3.81" has been added to the 4.1-stable tree gregkh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.