diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/common/module.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c index cea01c0..c7d19d1 100644 --- a/sys/boot/common/module.c +++ b/sys/boot/common/module.c @@ -65,7 +65,12 @@ static void moduledir_rebuild(void); /* load address should be tweaked by first module loaded (kernel) */ static vm_offset_t loadaddr = 0; +#if defined(LOADER_FDT_SUPPORT) +static const char *default_searchpath = + "/boot/kernel;/boot/modules;/boot/dtb"; +#else static const char *default_searchpath ="/boot/kernel;/boot/modules"; +#endif static STAILQ_HEAD(, moduledir) moduledir_list = STAILQ_HEAD_INITIALIZER(moduledir_list); |