|
|
00e791 |
From c4e3516e303daa42b3381ddd889a90641717f720 Mon Sep 17 00:00:00 2001
|
|
|
00e791 |
From: TanMing <tanminger@TanMing-WorkPC.sh.intel.com>
|
|
|
00e791 |
Date: Tue, 21 Aug 2018 02:25:52 -0400
|
|
|
00e791 |
Subject: [PATCH 12/62] Fix the compile error of mkdir wrong directory.
|
|
|
00e791 |
|
|
|
00e791 |
In Ubuntu 14.04, the following code in old Makefile:
|
|
|
00e791 |
mkdir -p Cryptlib/{Hash,Hmac,Cipher,Rand,Pk,Pem,SysCall}
|
|
|
00e791 |
will create a directory named "{Hash,Hmac,Cipher,Rand,Pk,Pem,SysCall}".
|
|
|
00e791 |
|
|
|
00e791 |
Signed-off-by: Ming Tan <ming.tan@intel.com>
|
|
|
00e791 |
Upstream-commit-id: 39b83455d68
|
|
|
00e791 |
---
|
|
|
00e791 |
Makefile | 4 ++--
|
|
|
00e791 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
00e791 |
|
|
|
00e791 |
diff --git a/Makefile b/Makefile
|
|
|
00e791 |
index 115e7f08c0f..3f2105595a6 100644
|
|
|
00e791 |
--- a/Makefile
|
|
|
00e791 |
+++ b/Makefile
|
|
|
00e791 |
@@ -102,11 +102,11 @@ $(MMSONAME): $(MOK_OBJS) Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a li
|
|
|
00e791 |
$(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS) lib/lib.a
|
|
|
00e791 |
|
|
|
00e791 |
Cryptlib/libcryptlib.a:
|
|
|
00e791 |
- mkdir -p Cryptlib/{Hash,Hmac,Cipher,Rand,Pk,Pem,SysCall}
|
|
|
00e791 |
+ for i in Hash Hmac Cipher Rand Pk Pem SysCall; do mkdir -p Cryptlib/$$i; done
|
|
|
00e791 |
$(MAKE) VPATH=$(TOPDIR)/Cryptlib TOPDIR=$(TOPDIR)/Cryptlib -C Cryptlib -f $(TOPDIR)/Cryptlib/Makefile
|
|
|
00e791 |
|
|
|
00e791 |
Cryptlib/OpenSSL/libopenssl.a:
|
|
|
00e791 |
- mkdir -p Cryptlib/OpenSSL/crypto/{x509v3,x509,txt_db,stack,sha,rsa,rc4,rand,pkcs7,pkcs12,pem,ocsp,objects,modes,md5,lhash,kdf,hmac,evp,err,dso,dh,conf,comp,cmac,buffer,bn,bio,async{,/arch},asn1,aes}/
|
|
|
00e791 |
+ for i in x509v3 x509 txt_db stack sha rsa rc4 rand pkcs7 pkcs12 pem ocsp objects modes md5 lhash kdf hmac evp err dso dh conf comp cmac buffer bn bio async/arch asn1 aes; do mkdir -p Cryptlib/OpenSSL/crypto/$$i; done
|
|
|
00e791 |
$(MAKE) VPATH=$(TOPDIR)/Cryptlib/OpenSSL TOPDIR=$(TOPDIR)/Cryptlib/OpenSSL -C Cryptlib/OpenSSL -f $(TOPDIR)/Cryptlib/OpenSSL/Makefile
|
|
|
00e791 |
|
|
|
00e791 |
lib/lib.a: | $(TOPDIR)/lib/Makefile $(wildcard $(TOPDIR)/include/*.[ch])
|
|
|
00e791 |
--
|
|
|
00e791 |
2.26.2
|
|
|
00e791 |
|