Index: head/sys/modules/geom/geom_flashmap/Makefile =================================================================== --- head/sys/modules/geom/geom_flashmap/Makefile (revision 344674) +++ head/sys/modules/geom/geom_flashmap/Makefile (revision 344675) @@ -1,8 +1,13 @@ # $FreeBSD$ .PATH: ${SRCTOP}/sys/geom KMOD= geom_flashmap SRCS= geom_flashmap.c +.if !empty(OPT_FDT) +.PATH: ${SRCTOP}/sys/dev/fdt +SRCS+= fdt_slicer.c +.endif + .include