groundwork for standalone elfs of modules for debugging purposes

This commit is contained in:
Chris Punches
2025-03-09 19:02:39 -04:00
parent df041574ae
commit e28afc2d77
9 changed files with 606 additions and 19 deletions

View File

@@ -108,3 +108,8 @@ extern "C" int dpm_module_execute(const char* command, int argc, char** argv) {
return cmd_unknown(command, argc, argv);
}
}
// If we're building in standalone mode, include the main function
#ifdef BUILD_STANDALONE
DPM_MODULE_STANDALONE_MAIN()
#endif // BUILD_STANDALONE