Changeset View
Changeset View
Standalone View
Standalone View
lib/libve/Makefile.libsa.inc
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
BRSSL_CFLAGS+= -DNO_STDIO | |||||
.include "Makefile.inc" | |||||
# for "measured boot" | |||||
# loader puts the equivalent of TPM's PCR register into kenv | |||||
# this is not as good but *way* simpler than talking to TPM | |||||
CFLAGS+= -DVE_PCR_SUPPORT | |||||
# sources that only apply to libsa | |||||
SRCS+= \ | |||||
vectx.c \ | |||||
veopen.c \ | |||||
vepcr.c \ | |||||
verify.c \ | |||||
# this is the list of paths (relative to a file | |||||
# that we need to verify) used to find a signed manifest. | |||||
# the signature extensions in VE_SIGNATURE_EXT_LIST | |||||
# will be applied to each. | |||||
VE_MANIFEST_LIST?= manifest ../manifest | |||||
verify.o: manifests.h | |||||
manifests.h: | |||||
@( echo '/* Autogenerated - DO NOT EDIT!!! */'; echo; \ | |||||
echo "static const char *manifest_names[] = {"; \ | |||||
echo '${VE_MANIFEST_LIST:@m@"$m",${.newline}@}'; \ | |||||
echo 'NULL };' ) > ${.TARGET} | |||||
XCFLAGS.verify+= \ | |||||
-DVE_DEBUG_LEVEL=${VE_DEBUG_LEVEL:U0} \ | |||||
.if !empty(MANIFEST_SKIP_ALWAYS) | |||||
XCFLAGS.verify+= -DMANIFEST_SKIP_ALWAYS=\"${MANIFEST_SKIP_ALWAYS}\" | |||||
.elif !empty(MANIFEST_SKIP) | |||||
XCFLAGS.verify+= -DMANIFEST_SKIP=\"${MANIFEST_SKIP}\" | |||||
.endif |