[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:
Isaku Yamahata
2019-04-25 02:42:55 +02:00
committed by Michał Kowalczyk
parent 0fe0e028d8
commit 4789f86bfa
+1 -1
View File
@@ -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