mirror of
https://github.com/Dasharo/coreboot.git
synced 2026-03-06 14:43:26 -08:00
0d88b56cda
Print key hashes when displaying manifests as it may be useful when obtaining information from binary about the used keys and what hash should be provisioned in TXE. Change-Id: I288fbb3db6b42e231977683145ce67e8fbd98dfc Upstream-Status: Pending Co-authored-by: Krystian Hebel <krystian.hebel@3mdeb.com> Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
36 lines
739 B
Makefile
36 lines
739 B
Makefile
# txesbmantool - Utility for generating TXE Secure Boot manifests
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
CC ?= gcc
|
|
INSTALL ?= /usr/bin/env install
|
|
PREFIX ?= /usr/local
|
|
|
|
HOSTCC ?= $(CC)
|
|
HOSTCFLAGS ?= $(CFLAGS)
|
|
top := ../..
|
|
objutil ?= ..
|
|
|
|
ifneq ($(PKG_CONFIG),)
|
|
HOSTPKGCONFIG ?= $(PKG_CONFIG)
|
|
else
|
|
HOSTPKGCONFIG ?= pkg-config
|
|
endif
|
|
HOSTCFLAGS += $(shell $(HOSTPKGCONFIG) --cflags wolfssl)
|
|
LDFLAGS ?= $(shell $(HOSTPKGCONFIG) --libs wolfssl)
|
|
|
|
include Makefile.mk
|
|
|
|
PROGRAM=$(objutil)/txesbmantool/txesbmantool
|
|
|
|
all: $(PROGRAM)
|
|
|
|
clean:
|
|
rm -f $(PROGRAM) *.o *~ .dependencies
|
|
distclean: clean
|
|
|
|
install: $(PROGRAM)
|
|
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
|
|
$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
|
|
|
|
.PHONY: all clean distclean install
|