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 559512c..9fc78e5 100644 (file)
@@ -4,5 +4,4 @@ all: $(TEST_PROGS) $(EXTRA)
 
 include ../lib.mk
 
-clean:
-       rm -fr $(EXTRA)
+EXTRA_CLEAN := $(EXTRA)