Date: Sun, 26 Oct 2014 02:21:55 +0000 (UTC) From: Ian Lepore <ian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r273658 - stable/10/sys/boot/common Message-ID: <201410260221.s9Q2LtbA080666@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ian Date: Sun Oct 26 02:21:54 2014 New Revision: 273658 URL: https://svnweb.freebsd.org/changeset/base/273658 Log: MFC r271054: When built with FDT support, add /boot/dtb to the list of search directories. Modified: stable/10/sys/boot/common/module.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/boot/common/module.c ============================================================================== --- stable/10/sys/boot/common/module.c Sun Oct 26 02:19:03 2014 (r273657) +++ stable/10/sys/boot/common/module.c Sun Oct 26 02:21:54 2014 (r273658) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410260221.s9Q2LtbA080666>