Index: head/sys/boot/Makefile.amd64 =================================================================== --- head/sys/boot/Makefile.amd64 (revision 298417) +++ head/sys/boot/Makefile.amd64 (revision 298418) @@ -1,13 +1,16 @@ # $FreeBSD$ SUBDIR+= efi SUBDIR+= libstand32 SUBDIR+= zfs -SUBDIR+= geli SUBDIR+= userboot + +.if !defined(LOADER_NO_GELI_SUPPORT) +SUBDIR+= geli +.endif .if ${MK_FORTH} != "no" SUBDIR+= ficl32 .endif SUBDIR+= i386 Index: head/sys/boot/Makefile.i386 =================================================================== --- head/sys/boot/Makefile.i386 (revision 298417) +++ head/sys/boot/Makefile.i386 (revision 298418) @@ -1,6 +1,9 @@ # $FreeBSD$ SUBDIR+= efi SUBDIR+= libstand32 SUBDIR+= zfs + +.if !defined(LOADER_NO_GELI_SUPPORT) SUBDIR+= geli +.endif