-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI: specify ATTESTER to build kbs-client #429
Conversation
|
- Add ATTESTER in Makefile to specify seperate attester for kbs-client Signed-off-by: Lei Li <[email protected]> Signed-off-by: Lei Li <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine.
@@ -20,6 +21,14 @@ else | |||
AS_FEATURE = $(AS_TYPE) | |||
endif | |||
|
|||
ifndef CLI_FEATURES | |||
ifdef ATTESTER | |||
CLI_FEATURES = "sample_only,$(ATTESTER)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a bit misleading to use both sample_only
and another attester, but I guess we can live with that. I think we depend on this sample_only
feature externally so we probably don't want to rename that.
We can't build kbs-client on s390x host with default feature including all attesters.
I tried to add a new variable ATTESTER in Makefile, so that we can specify separate attester when building kbs-client
make cli
will build kbs-client with all attestersCLI_FEATURES=sample_only make cli
ATTESTER=se-attester make cli