OSDN Git Service

objtool: Remove inat-tables.c when make clean
authorTiezhu Yang <yangtiezhu@loongson.cn>
Wed, 11 May 2022 08:37:49 +0000 (16:37 +0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Thu, 12 May 2022 14:28:05 +0000 (07:28 -0700)
commitf193c32cad2ddc79ad55a2e2fb3bc35e7d92946a
tree57502be7404d2bac2055044efdc52448def59e5f
parenta8e35fece49b16b20de000aab687ca075e4463af
objtool: Remove inat-tables.c when make clean

When build objtool on x86, the generated file inat-tables.c is in
arch/x86/lib instead of arch/x86, use the correct dir to remove it
when make clean.

$ cd tools/objtool
$ make
[...]
  GEN     arch/x86/lib/inat-tables.c
[...]

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
Link: https://lore.kernel.org/r/1652258270-6278-2-git-send-email-yangtiezhu@loongson.cn
tools/objtool/Makefile