When built with FDT support, add /boot/dtb to the list of search directories.
This commit is contained in:
parent
6f00c0f90f
commit
7a969f2e05
@ -66,7 +66,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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user