summaryrefslogtreecommitdiffstats
path: root/scripts/adjust_autoksyms.sh
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-16 08:37:14 +0100
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-03-25 19:01:23 +0200
commitfbfa9be9904e2c0d0c97d860fd071089d21dd9be (patch)
tree61222cf6e3b3487e6d0f623aec432ff3356b2363 /scripts/adjust_autoksyms.sh
parentkbuild: move CONFIG_TRIM_UNUSED_KSYMS code unneeded for external module (diff)
downloadlinux-fbfa9be9904e2c0d0c97d860fd071089d21dd9be.tar.xz
linux-fbfa9be9904e2c0d0c97d860fd071089d21dd9be.zip
kbuild: move include/config/ksym/* to include/ksym/*
The idea of using fixdep was inspired by Kconfig, but autoksyms belongs to a different group. So, I want to move those touched files under include/config/ksym/ to include/ksym/. The directory include/ksym/ can be removed by 'make clean' because it is meaningless for the external module building. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Acked-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'scripts/adjust_autoksyms.sh')
-rwxr-xr-xscripts/adjust_autoksyms.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/adjust_autoksyms.sh b/scripts/adjust_autoksyms.sh
index e0dd0d5148ec..f11cae6a041b 100755
--- a/scripts/adjust_autoksyms.sh
+++ b/scripts/adjust_autoksyms.sh
@@ -80,7 +80,7 @@ sort "$cur_ksyms_file" "$new_ksyms_file" | uniq -u |
sed -n 's/^#define __KSYM_\(.*\) 1/\1/p' | tr "A-Z_" "a-z/" |
while read sympath; do
if [ -z "$sympath" ]; then continue; fi
- depfile="include/config/ksym/${sympath}.h"
+ depfile="include/ksym/${sympath}.h"
mkdir -p "$(dirname "$depfile")"
touch "$depfile"
echo $((count += 1))