Date: Wed, 3 Sep 2014 21:25:36 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r271054 - head/sys/boot/common Message-ID: <201409032125.s83LPahP074442@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Wed Sep 3 21:25:36 2014 New Revision: 271054 URL: http://svnweb.freebsd.org/changeset/base/271054 Log: When built with FDT support, add /boot/dtb to the list of search directories. Modified: head/sys/boot/common/module.c Modified: head/sys/boot/common/module.c ============================================================================== --- head/sys/boot/common/module.c Wed Sep 3 21:17:09 2014 (r271053) +++ head/sys/boot/common/module.c Wed Sep 3 21:25:36 2014 (r271054) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409032125.s83LPahP074442>