Re: [PATCH 1/1] tools selftests: Fix 'clean' target with make 3.81

From: Shuah Khan
Date: Thu May 14 2015 - 18:17:01 EST


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@xxxxxxxxxxxxxxx>
> Cc: David Ahern <dsahern@xxxxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> Cc: Michael Ellerman <mpe@xxxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/r/20150514151225.GH23588@xxxxxxxxxx
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> ---
> 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@xxxxxxxxxxxxxxx | (970) 217-8978
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/