kbuild: do not remove 'linux' link in scripts/link-vmlinux.sh
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 19 Aug 2021 00:57:38 +0000 (09:57 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 Sep 2021 23:17:21 +0000 (08:17 +0900)
commitd40aecd108d2a6413d53f6f8339e787a23150595
tree3beebfacdce11a3b94dfe8faba8a4ff9a6db5ffe
parent8f1305124ea48943d1dd07683ed4f82c69b232ee
kbuild: do not remove 'linux' link in scripts/link-vmlinux.sh

arch/um/Makefile passes the -f option to the ln command:

  linux: vmlinux
          @echo '  LINK $@'
          $(Q)ln -f $< $@

So, the hard link is always re-created, and the old one is removed
anyway.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
scripts/link-vmlinux.sh