Date: Thu, 28 Feb 2019 23:00:47 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r344675 - head/sys/modules/geom/geom_flashmap Message-ID: <201902282300.x1SN0l1v055794@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Thu Feb 28 23:00:47 2019 New Revision: 344675 URL: https://svnweb.freebsd.org/changeset/base/344675 Log: GEOM: Add fdt_slicer to the GEOM flashmap module for fdt-based platforms geom_flashmap depends on a slicer being available in order to do any work. On fdt platforms this is provided by fdt_slicer, but this needs to be available. Often it's compiled into the kernel for platforms that boot from the relevant media, but this is not always the case. Add the file to the geom_flashmap module so that it can be used on platforms which don't always need this functionality available. Modified: head/sys/modules/geom/geom_flashmap/Makefile Modified: head/sys/modules/geom/geom_flashmap/Makefile ============================================================================== --- head/sys/modules/geom/geom_flashmap/Makefile Thu Feb 28 22:57:09 2019 (r344674) +++ head/sys/modules/geom/geom_flashmap/Makefile Thu Feb 28 23:00:47 2019 (r344675) @@ -5,4 +5,9 @@ KMOD= geom_flashmap SRCS= geom_flashmap.c +.if !empty(OPT_FDT) +.PATH: ${SRCTOP}/sys/dev/fdt +SRCS+= fdt_slicer.c +.endif + .include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902282300.x1SN0l1v055794>