summaryrefslogtreecommitdiffstats
path: root/sys/boot/common/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/common/Makefile.inc')
-rw-r--r--sys/boot/common/Makefile.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/boot/common/Makefile.inc b/sys/boot/common/Makefile.inc
index 1f31aa9..bb0d120 100644
--- a/sys/boot/common/Makefile.inc
+++ b/sys/boot/common/Makefile.inc
@@ -23,6 +23,11 @@ SRCS+= dev_net.c
SRCS+= bcache.c
.endif
+.if defined(MD_IMAGE_SIZE)
+CFLAGS+= -DMD_IMAGE_SIZE=${MD_IMAGE_SIZE}
+SRCS+= md.c
+.endif
+
# Machine-independant ISA PnP
.if defined(HAVE_ISABUS)
SRCS+= isapnp.c
OpenPOWER on IntegriCloud