diff options
Diffstat (limited to 'scripts/basic')
-rw-r--r-- | scripts/basic/fixdep.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 679124b11e12..668a11a8b383 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c | |||
@@ -132,20 +132,10 @@ void usage(void) | |||
132 | 132 | ||
133 | /* | 133 | /* |
134 | * Print out the commandline prefixed with cmd_<target filename> := | 134 | * Print out the commandline prefixed with cmd_<target filename> := |
135 | * If commandline contains '#' escape with '\' so make to not see | 135 | */ |
136 | * the '#' as a start-of-comment symbol | ||
137 | **/ | ||
138 | void print_cmdline(void) | 136 | void print_cmdline(void) |
139 | { | 137 | { |
140 | char *p = cmdline; | 138 | printf("cmd_%s := %s\n\n", target, cmdline); |
141 | |||
142 | printf("cmd_%s := ", target); | ||
143 | for (; *p; p++) { | ||
144 | if (*p == '#') | ||
145 | printf("\\"); | ||
146 | printf("%c", *p); | ||
147 | } | ||
148 | printf("\n\n"); | ||
149 | } | 139 | } |
150 | 140 | ||
151 | char * str_config = NULL; | 141 | char * str_config = NULL; |