summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/futex/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/futex/Makefile')
-rw-r--r--tools/testing/selftests/futex/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/futex/Makefile b/tools/testing/selftests/futex/Makefile
index c8095e628e13..e2fbb890aef9 100644
--- a/tools/testing/selftests/futex/Makefile
+++ b/tools/testing/selftests/futex/Makefile
@@ -32,9 +32,10 @@ override define EMIT_TESTS
echo "./run.sh"
endef
-clean:
+override define CLEAN
for DIR in $(SUBDIRS); do \
BUILD_TARGET=$(OUTPUT)/$$DIR; \
mkdir $$BUILD_TARGET -p; \
make OUTPUT=$$BUILD_TARGET -C $$DIR $@;\
done
+endef