Skip to content
Snippets Groups Projects
Commit 9a2f59d0 authored by Armin Luntzer's avatar Armin Luntzer
Browse files

provide main() as entry point if CONFIG_ARCH_CUSTOM_BOOT_CODE is not defined

parent 345c7f4e
No related branches found
No related tags found
No related merge requests found
...@@ -144,6 +144,12 @@ void do_basic_setup(void) ...@@ -144,6 +144,12 @@ void do_basic_setup(void)
do_initcalls(); do_initcalls();
} }
#else
int main(void)
{
return kernel_main();
}
#endif /* CONFIG_ARCH_CUSTOM_BOOT_CODE */ #endif /* CONFIG_ARCH_CUSTOM_BOOT_CODE */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment