]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
4.0-stable patches
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 23:52:23 +0000 (16:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jul 2015 23:52:23 +0000 (16:52 -0700)
added patches:
tools-selftests-fix-clean-target-with-make-3.81.patch

queue-4.0/series
queue-4.0/tools-selftests-fix-clean-target-with-make-3.81.patch [new file with mode: 0644]

index d5f0805c85f72acdd7568feef94a37c3d49f566d..f1e0d424d1068314dc6531fe2631c16ff69374e1 100644 (file)
@@ -19,3 +19,4 @@ alsa-hda-fix-the-dock-headphone-output-on-fujitsu-lifebook-e780.patch
 acpi-init-switch-over-platform-to-the-acpi-mode-later.patch
 acpi-pm-add-missing-pm_generic_complete-invocation.patch
 iio-accel-kxcjk-1013-add-the-kxcj9000-acpi-id.patch
+tools-selftests-fix-clean-target-with-make-3.81.patch
diff --git a/queue-4.0/tools-selftests-fix-clean-target-with-make-3.81.patch b/queue-4.0/tools-selftests-fix-clean-target-with-make-3.81.patch
new file mode 100644 (file)
index 0000000..0b9fc75
--- /dev/null
@@ -0,0 +1,38 @@
+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
+@@ -26,7 +26,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