MCPcopy Create free account
hub / github.com/apache/nuttx / run_make

Function run_make

tools/configure.c:402–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402static int run_make(const char *arg)
403{
404 char **argv;
405
406 snprintf(g_buffer, BUFFER_SIZE, "make %s", arg);
407
408 for (argv = g_makeargv; *argv; argv++)
409 {
410 strncat(g_buffer, " ", BUFFER_SIZE - 1);
411 strncat(g_buffer, *argv, BUFFER_SIZE - 1);
412 }
413
414 return system(g_buffer);
415}
416
417static bool filecmp(const char *f1, const char *f2)
418{

Callers 2

check_configuredFunction · 0.85
refreshFunction · 0.85

Calls 2

snprintfFunction · 0.50
strncatFunction · 0.50

Tested by

no test coverage detected