mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-07 06:14:02 +00:00
[Pal/Linux-SGX] Make Makefile.Test skip commented out lines
Makefile.Test unnecessarily recreates .manifest.sgx of commented sgx.trusted_children because it processes commented lines in .manifest.sgx. Modify Makefile.Test to skip commented out lines in .manifest.sgx.
This commit is contained in:
committed by
Michał Kowalczyk
parent
0fe0e028d8
commit
4789f86bfa
@@ -23,7 +23,7 @@ $(SGX_SIGNER_KEY):
|
||||
$(error "Cannot find any enclave key. Generate $(abspath $(SGX_SIGNER_KEY)) or specify 'SGX_SIGNER_KEY=' with make")
|
||||
|
||||
prerequisite = \
|
||||
for f in `grep -Po 'sgx.trusted_children.[^\\s=]+\\s*=\\s*file:\\K\\S+' $(1)`; do \
|
||||
for f in `sed -e 's/\#.*//g' $(1) | grep -Po 'sgx.trusted_children.[^\\s=]+\\s*=\\s*file:\\K\\S+'`; do \
|
||||
$(MAKE) $${f%.sig}.manifest.sgx; \
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user