aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/geom
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2019-02-28 23:00:47 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2019-02-28 23:00:47 +0000
commitc8e720aaaeb6b1efe836459c30b0e1782ade5c2a (patch)
tree6820b73f74a38aa3802739c231e901798c0b684d /sys/modules/geom
parentd18e541983aba63ac67a527d8801b77d9de0acf3 (diff)
Notes
Diffstat (limited to 'sys/modules/geom')
-rw-r--r--sys/modules/geom/geom_flashmap/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/modules/geom/geom_flashmap/Makefile b/sys/modules/geom/geom_flashmap/Makefile
index 8b56c145ea51..97e4fd7337bb 100644
--- a/sys/modules/geom/geom_flashmap/Makefile
+++ b/sys/modules/geom/geom_flashmap/Makefile
@@ -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>