selftests: splice: override clean in lib.mk to fix warnings
authorShuah Khan <shuahkh@osg.samsung.com>
Fri, 21 Apr 2017 22:24:09 +0000 (16:24 -0600)
committerShuah Khan <shuahkh@osg.samsung.com>
Thu, 27 Apr 2017 14:05:04 +0000 (08:05 -0600)
Add override with EXTRA_CLEAN for lib.mk clean to fix the following
warnings from clean target run.

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

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
tools/testing/selftests/splice/Makefile

index 559512c2075ea9e074708c597b984cf77644375c..9fc78e5e5451038dd0ce4b0c4fa25a95e7707249 100644 (file)
@@ -4,5 +4,4 @@ all: $(TEST_PROGS) $(EXTRA)
 
 include ../lib.mk
 
-clean:
-       rm -fr $(EXTRA)
+EXTRA_CLEAN := $(EXTRA)