config_include_HEADERS = frsh_resources.h
frsh_resources_DEFINES = CONFIG_RESOURCE_DUMMY CONFIG_FWP
-scheduler-libs-$(CONFIG_RESOURCE_DUMMY) := frs_dummy
-scheduler-libs-$(CONFIG_FWP) := frsh_fwp
+scheduler-libs-$(CONFIG_RESOURCE_DUMMY) += frs_dummy
+scheduler-libs-$(CONFIG_FWP) += frsh_fwp fwp
#include <forb.h>
#include "frsh_forb.h"
#include <frsh_resources.h>
-#include <stdio.h>
+
+#ifdef FRSH_DISTRIBUTED_MODULE_SUPPORTED
+#include <frsh_distributed.h>
+#endif
#ifdef CONFIG_RESOURCE_DUMMY
#include <res_dummy.h>
if (ret) goto err;
#ifdef CONFIG_RESOURCE_DUMMY
-#if 0
ret = frs_dummy_init(frsh_forb_global.orb, frsh_forb_global.fcb,
&frsh_forb_global.sch_executor);
if (ret) goto err;
#endif
-#endif
-//#if FRSH_DISTRIBUTED_MODULE_SUPPORTED
+#ifdef FRSH_DISTRIBUTED_MODULE_SUPPORTED
ret = frsh_distributed_init();
if (ret) goto err;
-//#endif
+#endif
/* Run resource schedulers */
fosa_thread_create(&frsh_forb_global.sch_executor_thread, NULL,
sch_executor_thread, NULL);