Stopgap fix to the mistmatch between LOADER_GELI_SUPPORT and
LOADER_NO_GELI_SUPPORT. To disable geli support in the loader, define LOADER_GELI_SUPPORT=no. Proper warnings for for old build options to follow. Sponsored by: Netflix
This commit is contained in:
parent
5bee4e133f
commit
b1bcbe76f2
@ -5,7 +5,7 @@ SUBDIR+= libsa32
|
||||
SUBDIR+= zfs
|
||||
SUBDIR+= userboot
|
||||
|
||||
.if !defined(LOADER_NO_GELI_SUPPORT)
|
||||
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
|
||||
SUBDIR+= geli
|
||||
.endif
|
||||
|
||||
|
@ -4,6 +4,6 @@ SUBDIR+= efi
|
||||
SUBDIR+= libsa32
|
||||
SUBDIR+= zfs
|
||||
|
||||
.if !defined(LOADER_NO_GELI_SUPPORT)
|
||||
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
|
||||
SUBDIR+= geli
|
||||
.endif
|
||||
|
@ -41,7 +41,7 @@ CFLAGS+=-DBOOTPROG=\"gptboot\" \
|
||||
|
||||
CFLAGS.gcc+= --param max-inline-insns-single=100
|
||||
|
||||
.if !defined(LOADER_NO_GELI_SUPPORT)
|
||||
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
|
||||
CFLAGS+= -DLOADER_GELI_SUPPORT
|
||||
CFLAGS+= -I${.CURDIR}/../../geli
|
||||
CFLAGS+= -I${.CURDIR}/../../..
|
||||
|
@ -48,7 +48,7 @@ CFLAGS+= -Wno-tentative-definition-incomplete-type
|
||||
# Do not unroll skein loops, reduce code size
|
||||
CFLAGS+= -DSKEIN_LOOP=111
|
||||
|
||||
.if !defined(LOADER_NO_GELI_SUPPORT)
|
||||
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
|
||||
CFLAGS+= -DLOADER_GELI_SUPPORT
|
||||
CFLAGS+= -I${.CURDIR}/../../geli
|
||||
LIBGELIBOOT= ${.OBJDIR}/../../geli/libgeliboot.a
|
||||
|
@ -25,7 +25,7 @@ CFLAGS+= -DCOMSPEED=${BOOT_COMCONSOLE_SPEED}
|
||||
CFLAGS+= -DDISK_DEBUG
|
||||
.endif
|
||||
|
||||
.if !defined(LOADER_NO_GELI_SUPPORT)
|
||||
.if ${LOADER_GELI_SUPPORT:Uyes} == "yes"
|
||||
# Decrypt encrypted drives
|
||||
CFLAGS+= -DLOADER_GELI_SUPPORT
|
||||
CFLAGS+= -I${.CURDIR}/../../geli
|
||||
|
Loading…
x
Reference in New Issue
Block a user