aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/userboot
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-10-16 03:59:28 +0000
committerWarner Losh <imp@FreeBSD.org>2017-10-16 03:59:28 +0000
commit7f20726e4badbe62a3b6d45a2e61bd68ac1d4cd3 (patch)
tree67800699cd92e1f23279262668cca3c3469607db /sys/boot/userboot
parent7e705f54f8270b7ec5a3ef638bed161cbf0bd532 (diff)
Notes
Diffstat (limited to 'sys/boot/userboot')
-rw-r--r--sys/boot/userboot/userboot/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/boot/userboot/userboot/Makefile b/sys/boot/userboot/userboot/Makefile
index 3f5dcace61622..9a8963c9ed65d 100644
--- a/sys/boot/userboot/userboot/Makefile
+++ b/sys/boot/userboot/userboot/Makefile
@@ -30,7 +30,6 @@ SRCS+= vers.c
CFLAGS+= -Wall
CFLAGS+= -I${.CURDIR}/..
-CFLAGS+= -I${.CURDIR}/../../common
CFLAGS+= -I${.CURDIR}/../../..
CFLAGS+= -ffreestanding -I.
@@ -54,9 +53,7 @@ LIBZFSBOOT= ${.OBJDIR}/../zfs/libzfsboot.a
.endif
# Always add MI sources
-.PATH: ${.CURDIR}/../../common
-.include "${.CURDIR}/../../common/Makefile.inc"
-CFLAGS+= -I${.CURDIR}/../../common
+.include "../../loader.mk"
CFLAGS+= -I.
DPADD+= ${LIBFICL} ${LIBZFSBOOT} ${LIBSA}
LDADD+= ${LIBFICL} ${LIBZFSBOOT} ${LIBSA}