summaryrefslogtreecommitdiffstats
path: root/sys/boot/amd64/efi/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/amd64/efi/Makefile')
-rw-r--r--sys/boot/amd64/efi/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/amd64/efi/Makefile b/sys/boot/amd64/efi/Makefile
index f4138c9..686eb4e 100644
--- a/sys/boot/amd64/efi/Makefile
+++ b/sys/boot/amd64/efi/Makefile
@@ -44,6 +44,10 @@ LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
# Include bcache code.
HAVE_BCACHE= yes
+.if defined(EFI_STAGING_SIZE)
+CFLAGS+= -DEFI_STAGING_SIZE=${EFI_STAGING_SIZE}
+.endif
+
# Always add MI sources
.PATH: ${.CURDIR}/../../common
.include "${.CURDIR}/../../common/Makefile.inc"
OpenPOWER on IntegriCloud