aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@kernel.org>2015-05-14 15:55:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-21 13:10:02 -0400
commitf3ff4345ef597115869a227dbf738dde157f8521 (patch)
treee63f1c741dc5e13c95bb2262d2dcce6649c1548c /tools
parent8841d6439b1d6504d9c7498ebfdee1408e09460e (diff)
tools selftests: Fix 'clean' target with make 3.81
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>
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/Makefile2
1 files changed, 1 insertions, 1 deletions
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
27# Makefile to avoid test build failures when test 27# Makefile to avoid test build failures when test
28# Makefile doesn't have explicit build rules. 28# Makefile doesn't have explicit build rules.
29ifeq (1,$(MAKELEVEL)) 29ifeq (1,$(MAKELEVEL))
30undefine LDFLAGS 30override LDFLAGS =
31override MAKEFLAGS = 31override MAKEFLAGS =
32endif 32endif
33 33