Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/boot_crypto/Makefile
- This file was added.
# $FreeBSD$ | |||||
# libboot_crypto | |||||
MAN= | |||||
.include <src.opts.mk> | |||||
imp: this likely needs to be updated to use the refactored defs.mk. | |||||
MK_SSP= no | |||||
LIB= boot_crypto | |||||
INTERNALLIB= | |||||
MK_PROFILE= no | |||||
NO_PIC= | |||||
WARNS?= 0 | |||||
# sha256 and sha512 from sys/crypto | |||||
.PATH: ${.CURDIR}/../../crypto/sha2 | |||||
impUnsubmitted Not Done Inline ActionsThis needs to be SYSDIR imp: This needs to be SYSDIR | |||||
CFLAGS+= -DWEAK_REFS | |||||
SRCS+= sha256c.c sha512c.c | |||||
# md5 from libmd | |||||
.PATH: ${.CURDIR}/../../../lib/libmd | |||||
impUnsubmitted Not Done Inline ActionsThis needs to be SRCTOP imp: This needs to be SRCTOP | |||||
SRCS+= md5c.c | |||||
# AES implementation from sys/crypto | |||||
.PATH: ${.CURDIR}/../../crypto/rijndael | |||||
impUnsubmitted Not Done Inline ActionsThis needs to be SYSDIR imp: This needs to be SYSDIR | |||||
CFLAGS+= -I${.CURDIR}/../../ | |||||
impUnsubmitted Not Done Inline ActionsThis needs to be SYSDIR imp: This needs to be SYSDIR | |||||
# Remove asserts | |||||
CFLAGS+= -DNDEBUG | |||||
impUnsubmitted Not Done Inline ActionsNope. Can't commit this. If the asserts are firing the code must be fixed. imp: Nope. Can't commit this. If the asserts are firing the code must be fixed. | |||||
SRCS+= rijndael-alg-fst.c rijndael-api-fst.c rijndael-api.c | |||||
SRCS+= boot_crypto.c boot_crypto_aes.c | |||||
.include <bsd.stand.mk> | |||||
.include <bsd.lib.mk> |
this likely needs to be updated to use the refactored defs.mk.