OSDN Git Service

tools selftests: Fix 'clean' target with make 3.81
authorArnaldo Carvalho de Melo <acme@kernel.org>
Thu, 14 May 2015 19:55:18 +0000 (16:55 -0300)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 26 May 2015 21:58:09 +0000 (15:58 -0600)
commit60df4642a83546fa6ea8286f5094ce8c0906c3ec
treeb2c83881995ebcd435a6c894608bb79d8f43fb78
parent3dce92845396c26b0e5ad992277cbb8b296e33bd
tools selftests: Fix 'clean' target with make 3.81

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>
tools/testing/selftests/Makefile