MCPcopy Create free account
hub / github.com/Entware/Entware / env_write_dep

Function env_write_dep

scripts/config/preprocess.c:90–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void env_write_dep(FILE *f, const char *autoconfig_name)
91{
92 struct env *e, *tmp;
93
94 list_for_each_entry_safe(e, tmp, &env_list, node) {
95 fprintf(f, "ifneq \"$(%s)\" \"%s\"\n", e->name, e->value);
96 fprintf(f, "%s: FORCE\n", autoconfig_name);
97 fprintf(f, "endif\n");
98 env_del(e);
99 }
100}
101
102/*
103 * Built-in functions

Callers 1

conf_write_autoconf_cmdFunction · 0.85

Calls 1

env_delFunction · 0.85

Tested by

no test coverage detected