[ CC linux-kbuild folks ] Hi, while digging into a perf issue I see this: $ cd /path/to/linux.git $ LC_ALL=C make -C tools/ clean 2>&1 | tee ../make-log_tools-clean.txt ... DESCEND tracing make[1]: Entering directory '/home/dileks/src/linux-kernel/git/tools/tracing' DESCEND latency make[2]: Entering directory '/home/dileks/src/linux-kernel/git/tools/tracing/latency' rm -f latency-collector make[2]: Leaving directory '/home/dileks/src/linux-kernel/git/tools/tracing/latency' DESCEND rtla make[2]: Entering directory '/home/dileks/src/linux-kernel/git/tools/tracing/rtla' make -C /home/dileks/src/linux-kernel/git/tools/tracing/rtla/../../../Documentation/tools/rtla/ clean make[3]: Entering directory '/home/dileks/src/linux-kernel/git/Documentation/tools/rtla' rm -f rtla-osnoise-hist.1 rtla-osnoise-top.1 rtla-osnoise.1 rtla-timerlat-hist.1 rtla-timerlat-top.1 rtla-timerlat.1 rtla.1 make[3]: Leaving directory '/home/dileks/src/linux-kernel/git/Documentation/tools/rtla' /bin/sh: 1: test: rtla-make[2]:: unexpected operator rm: cannot remove '/home/dileks/src/linux-kernel/git': Is a directory make[2]: *** [Makefile:120: clean] Error 1 make[2]: Leaving directory '/home/dileks/src/linux-kernel/git/tools/tracing/rtla' make[1]: *** [Makefile:26: rtla_clean] Error 2 make[1]: Leaving directory '/home/dileks/src/linux-kernel/git/tools/tracing' make: *** [Makefile:170: tracing_clean] Error 2 make: Leaving directory '/home/dileks/src/linux-kernel/git/tools' Please check yourself. Regards, -Sedat-