Skip to content
Snippets Groups Projects
Commit baa16684 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kbuild: remove wrong 'touch' in adjust_autoksyms.sh


The comment mentions it creates autoksyms.h in case it is missing,
but the actual code touches it when it does exists.

The build system creates it anyway because <linux/export.h> and
<asm-generic/export.h> need it.

The code would not have worked as intended, and people have not
noticed it.  This is a proof that we can simply remove it.

Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarNicolas Pitre <nico@linaro.org>
parent ce99d0bf
No related branches found
No related tags found
No related merge requests found
...@@ -48,9 +48,6 @@ case "${KCONFIG_CONFIG}" in ...@@ -48,9 +48,6 @@ case "${KCONFIG_CONFIG}" in
. "./${KCONFIG_CONFIG}" . "./${KCONFIG_CONFIG}"
esac esac
# In case it doesn't exist yet...
if [ -e "$cur_ksyms_file" ]; then touch "$cur_ksyms_file"; fi
# Generate a new ksym list file with symbols needed by the current # Generate a new ksym list file with symbols needed by the current
# set of modules. # set of modules.
cat > "$new_ksyms_file" << EOT cat > "$new_ksyms_file" << EOT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment