Move geli to common DO32 stuff

define DO32 since this is only build in amd64/i386
Remove files not needed.

Sponsored by: Netflix
This commit is contained in:
Warner Losh 2017-12-02 00:07:14 +00:00
parent 3a7d67e741
commit 9462787dba

View File

@ -2,6 +2,7 @@
# libgeliboot
MAN=
DO32=1
.include <bsd.init.mk>
MK_SSP= no
@ -11,19 +12,8 @@ INTERNALLIB=
MK_PROFILE= no
NO_PIC=
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
CFLAGS+= -march=i386
.endif
.if ${MACHINE_ARCH} == "amd64"
CFLAGS+= -m32
.endif
WARNS?= 0
# string functions from libc
.PATH: ${SRCTOP}/lib/libc/string
SRCS+= bcmp.c bcopy.c bzero.c
# Our password input method
SRCS+= pwgets.c