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

Function refresh

tools/configure.c:1587–1606  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1585}
1586
1587static void refresh(void)
1588{
1589 int ret;
1590
1591 printf(" Refreshing...\n");
1592 fflush(stdout);
1593
1594 ret = run_make("olddefconfig");
1595 putchar('\n');
1596
1597#ifdef WEXITSTATUS
1598 if (ret < 0 || WEXITSTATUS(ret) != 0)
1599#else
1600 if (ret < 0)
1601#endif
1602 {
1603 fprintf(stderr, "ERROR: Failed to refresh configurations\n");
1604 fprintf(stderr, " kconfig-conf --olddefconfig Kconfig\n");
1605 }
1606}
1607
1608static void save_original_config(void)
1609{

Callers 1

mainFunction · 0.85

Calls 5

printfFunction · 0.85
fflushFunction · 0.85
run_makeFunction · 0.85
putcharFunction · 0.85
fprintfFunction · 0.85

Tested by

no test coverage detected