]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Fri, 27 Aug 2021 05:07:07 +0000 (14:07 +0900)
commit2174547d52e9b359f67d601ecb7fb22ca842b4c1
treeca7533602be918636c370061ed04566f682086cb
parent11a5376e37c8f56f642b7889b581d802fbf03936
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