projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f13051
)
kbuild: do not remove 'linux' link in scripts/link-vmlinux.sh
author
Masahiro Yamada
<masahiroy@kernel.org>
Thu, 19 Aug 2021 00:57:38 +0000
(09:57 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Thu, 2 Sep 2021 23:17:21 +0000
(08:17 +0900)
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
patch
|
blob
|
history
diff --git
a/scripts/link-vmlinux.sh
b/scripts/link-vmlinux.sh
index
a6c4d0b
..
7b9c62e
100755
(executable)
--- a/
scripts/link-vmlinux.sh
+++ b/
scripts/link-vmlinux.sh
@@
-206,7
+206,6
@@
vmlinux_link()
-Wl,-T,${lds} \
${objects} \
-lutil -lrt -lpthread
- rm -f linux
fi
}