From: Greg Kroah-Hartman Date: Thu, 16 Jul 2015 23:52:23 +0000 (-0700) Subject: 4.0-stable patches X-Git-Tag: v4.0.9~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d452893b6ad284d7e18bcbac42d54fad44e409d6;p=thirdparty%2Fkernel%2Fstable-queue.git 4.0-stable patches added patches: tools-selftests-fix-clean-target-with-make-3.81.patch --- diff --git a/queue-4.0/series b/queue-4.0/series index d5f0805c85f..f1e0d424d10 100644 --- a/queue-4.0/series +++ b/queue-4.0/series @@ -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 index 00000000000..0b9fc75beb7 --- /dev/null +++ b/queue-4.0/tools-selftests-fix-clean-target-with-make-3.81.patch @@ -0,0 +1,38 @@ +From 60df4642a83546fa6ea8286f5094ce8c0906c3ec Mon Sep 17 00:00:00 2001 +From: Arnaldo Carvalho de Melo +Date: Thu, 14 May 2015 16:55:18 -0300 +Subject: tools selftests: Fix 'clean' target with make 3.81 + +From: Arnaldo Carvalho de Melo + +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 +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 +Signed-off-by: Shuah Khan +Cc: Sudip Mukherjee +Signed-off-by: Greg Kroah-Hartman + +--- + 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 +