OSDN Git Service

Merge tag 'linux-kselftest-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[tomoyo/tomoyo-test1.git] / tools / testing / selftests / powerpc / Makefile
index 03e1617..72c3ac2 100644 (file)
@@ -60,12 +60,13 @@ override define EMIT_TESTS
        done;
 endef
 
-clean:
+override define CLEAN
        @for TARGET in $(SUB_DIRS); do \
                BUILD_TARGET=$(OUTPUT)/$$TARGET;        \
                $(MAKE) OUTPUT=$$BUILD_TARGET -C $$TARGET clean; \
        done;
        rm -f tags
+endef
 
 tags:
        find . -name '*.c' -o -name '*.h' | xargs ctags