Skip to content

Commit

Permalink
libtcgtpm: use -j when building tpm libraries
Browse files Browse the repository at this point in the history
Let's speed up the compilation of the TPM libraries a bit.
We already do that for openssl.

Signed-off-by: Stefano Garzarella <[email protected]>
  • Loading branch information
stefano-garzarella committed Nov 12, 2024
1 parent 97a3a98 commit 708beea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libtcgtpm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ $(OPENSSL_MAKEFILE):

# tcgtpm
$(LIBTPM): $(TCGTPM_MAKEFILE) $(LIBCRYPTO)
$(MAKE) -C $(TCGTPM_DIR) $(LIBTPM_A)
$(MAKE) -j$$(nproc) -C $(TCGTPM_DIR) $(LIBTPM_A)

$(LIBPLATFORM): $(TCGTPM_MAKEFILE) $(LIBCRYPTO)
$(MAKE) -C $(TCGTPM_DIR) $(LIBPLATFORM_A)
$(MAKE) -j$$(nproc) -C $(TCGTPM_DIR) $(LIBPLATFORM_A)

TCGTPM_CFLAGS += -static -nostdinc -fno-stack-protector -fPIE -mno-sse -mno-red-zone
TCGTPM_CFLAGS += -DSIMULATION=NO -DFILE_BACKED_NV=NO
Expand Down

0 comments on commit 708beea

Please sign in to comment.