diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-16 03:37:14 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-25 13:01:23 -0400 |
| commit | fbfa9be9904e2c0d0c97d860fd071089d21dd9be (patch) | |
| tree | 61222cf6e3b3487e6d0f623aec432ff3356b2363 /scripts/basic | |
| parent | 1f50b80a093836743b5b579b3fab33eb2f6834f2 (diff) | |
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/basic')
| -rw-r--r-- | scripts/basic/fixdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 449b68c4c90c..f387538c58bc 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c | |||
| @@ -113,11 +113,11 @@ static void usage(void) | |||
| 113 | /* | 113 | /* |
| 114 | * Print out a dependency path from a symbol name | 114 | * Print out a dependency path from a symbol name |
| 115 | */ | 115 | */ |
| 116 | static void print_config(const char *m, int slen) | 116 | static void print_dep(const char *m, int slen, const char *dir) |
| 117 | { | 117 | { |
| 118 | int c, i; | 118 | int c, i; |
| 119 | 119 | ||
| 120 | printf(" $(wildcard include/config/"); | 120 | printf(" $(wildcard %s/", dir); |
| 121 | for (i = 0; i < slen; i++) { | 121 | for (i = 0; i < slen; i++) { |
| 122 | c = m[i]; | 122 | c = m[i]; |
| 123 | if (c == '_') | 123 | if (c == '_') |
| @@ -140,7 +140,7 @@ static void do_extra_deps(void) | |||
| 140 | fprintf(stderr, "fixdep: bad data on stdin\n"); | 140 | fprintf(stderr, "fixdep: bad data on stdin\n"); |
| 141 | exit(1); | 141 | exit(1); |
| 142 | } | 142 | } |
| 143 | print_config(buf, len - 1); | 143 | print_dep(buf, len - 1, "include/ksym"); |
| 144 | } | 144 | } |
| 145 | } | 145 | } |
| 146 | 146 | ||
| @@ -208,7 +208,7 @@ static void use_config(const char *m, int slen) | |||
| 208 | return; | 208 | return; |
| 209 | 209 | ||
| 210 | define_config(m, slen, hash); | 210 | define_config(m, slen, hash); |
| 211 | print_config(m, slen); | 211 | print_dep(m, slen, "include/config"); |
| 212 | } | 212 | } |
| 213 | 213 | ||
| 214 | /* test if s ends in sub */ | 214 | /* test if s ends in sub */ |
