Lines Matching +full:aux +full:- +full:output +full:- +full:source
2 * "Optimize" a list of dependencies as spit out by gcc -MD
18 * To use this list as-is however has the drawback that virtually
21 * If the user re-runs make *config, autoconf.h will be
38 * so most likely only his driver ;-)
47 * The former is handled by using the -MD output, the later by saving
52 * kbuild-devel a long time ago. I don't have a sensibly working
86 * be fast ;-) We don't even try to really parse the header files, but
102 * through arch/um/include/uml-config.h; this fixdep "bug" makes sure that
126 int is_spl_build = 0; /* hack for U-Boot */
167 struct item *aux; in is_defined_config() local
169 for (aux = hashtab[hash % HASHSZ]; aux; aux = aux->next) { in is_defined_config()
170 if (aux->hash == hash && aux->len == len && in is_defined_config()
171 memcmp(aux->name, name, len) == 0) in is_defined_config()
182 struct item *aux = malloc(sizeof(*aux) + len); in define_config() local
184 if (!aux) { in define_config()
188 memcpy(aux->name, name, len); in define_config()
189 aux->len = len; in define_config()
190 aux->hash = hash; in define_config()
191 aux->next = hashtab[hash % HASHSZ]; in define_config()
192 hashtab[hash % HASHSZ] = aux; in define_config()
226 char tmp_buf[256] = "SPL_"; /* hack for U-Boot */ in parse_config_file()
230 if (*m == INT_ONFI) { p = (char *) m-1; goto conf; } in parse_config_file()
231 if (*m == INT_NFIG) { p = (char *) m-2; goto conf; } in parse_config_file()
232 if (*m == INT_FIG_) { p = (char *) m-3; goto conf; } in parse_config_file()
235 if (p > map + len - 7) in parse_config_file()
247 if (!memcmp(q - 7, "_MODULE", 7)) in parse_config_file()
248 q -= 7; in parse_config_file()
249 if (q - p < 0) in parse_config_file()
253 * U-Boot also handles in parse_config_file()
259 if ((q - p == 10 && !memcmp(p, "IS_ENABLED(", 11)) || in parse_config_file()
260 (q - p == 10 && !memcmp(p, "IS_BUILTIN(", 11)) || in parse_config_file()
261 (q - p == 9 && !memcmp(p, "IS_MODULE(", 10)) || in parse_config_file()
262 (q - p == 3 && !memcmp(p, "VAL(", 4))) { in parse_config_file()
271 memcpy(tmp_buf + 4, p, q - p); in parse_config_file()
272 q = tmp_buf + 4 + (q - p); in parse_config_file()
276 /* end U-Boot hack */ in parse_config_file()
278 use_config(p, q - p); in parse_config_file()
291 return memcmp(s + slen - sublen, sub, sublen); in strrcmp()
316 if ((long) map == -1) { in do_config_file()
353 is_target = (*(p-1) == ':'); in parse_dep_file()
360 memcpy(s, m, p-m); in parse_dep_file()
361 s[p - m] = 0; in parse_dep_file()
365 strrcmp(s, "arch/um/include/uml-config.h") && in parse_dep_file()
369 * Do not list the source file as dependency, in parse_dep_file()
380 * will be the original source name, in parse_dep_file()
437 if ((long) map == -1) { in print_deps()
473 /* hack for U-Boot */ in main()