summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi/boot1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/efi/boot1/Makefile')
-rw-r--r--sys/boot/efi/boot1/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/efi/boot1/Makefile b/sys/boot/efi/boot1/Makefile
index ce72c15..58b3b6b 100644
--- a/sys/boot/efi/boot1/Makefile
+++ b/sys/boot/efi/boot1/Makefile
@@ -11,7 +11,7 @@ INTERNALPROG=
WARNS?= 6
# architecture-specific loader code
-SRCS= boot1.c reloc.c start.S
+SRCS= boot1.c reloc.c start.S ufs_module.c
CFLAGS+= -fPIC
CFLAGS+= -I.
@@ -19,6 +19,7 @@ CFLAGS+= -I${.CURDIR}/../include
CFLAGS+= -I${.CURDIR}/../include/${MACHINE}
CFLAGS+= -I${.CURDIR}/../../../contrib/dev/acpica/include
CFLAGS+= -I${.CURDIR}/../../..
+CFLAGS+= -DEFI_UFS_BOOT
# Always add MI sources and REGULAR efi loader bits
.PATH: ${.CURDIR}/../loader/arch/${MACHINE}
OpenPOWER on IntegriCloud