summaryrefslogtreecommitdiff
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/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/boot/efi/boot1/Makefile b/sys/boot/efi/boot1/Makefile
index 95508df8bbd9..6375a796886f 100644
--- a/sys/boot/efi/boot1/Makefile
+++ b/sys/boot/efi/boot1/Makefile
@@ -53,9 +53,7 @@ CWARNFLAGS.self_reloc.c+= -Wno-error=maybe-uninitialized
.endif
# Always add MI sources
-.PATH: ${.CURDIR}/../../common
-.include "${.CURDIR}/../../common/Makefile.inc"
-CFLAGS+= -I${.CURDIR}/../../common
+.include "../../loader.mk"
.PATH: ${.CURDIR}/arch/${MACHINE}