Re: [PATCH v2] perf: Fix clean error

2018-09-02 Thread Lei YU
Just find out that da15fc2fa9c07b23db8f5e479bd8a9f0d741ca07 (introduced in v4.19-rc1) already fixes the issue by specifying -j1 on make clean. So this commit is not needed anymore, though I think it does fix the root cause. But if we do want parallel clean, we could revert that and merge this comm

[PATCH v2] perf: Fix clean error

2018-09-02 Thread Lei YU
When make perf with -O, it gets error when make clean with below log: $ make -C tools/perf O= # OK $ make -C tools/perf O= clean # Got below error find: cannot delete ‘/builtin-script.o’: No such file or directory find: cannot delete ‘/.subcmd-config.o.cmd’: No such file or directory