selftests: lib.mk: define CLEAN macro to allow Makefiles to override clean
authorShuah Khan <shuahkh@osg.samsung.com>
Fri, 21 Apr 2017 22:07:51 +0000 (16:07 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Tue, 25 Apr 2017 15:46:45 +0000 (09:46 -0600)
commitdf6438f9a726c8f803e03708c83928e439fd5e2f
tree532fffdfef0017ed5a2f59e92d15dbac66c97b9a
parent8edd210d9b121681f7e69dc087ae80d7043008e9
selftests: lib.mk: define CLEAN macro to allow Makefiles to override clean

Define CLEAN macro to allow Makefiles to override common clean target
in lib.mk. This will help fix the following failures:

warning: overriding recipe for target 'clean'
../lib.mk:55: warning: ignoring old recipe for target 'clean'

Fixes: 88baa78d1f31 ("selftests: remove duplicated all and clean target")

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
tools/testing/selftests/lib.mk