arrfab / rpms / shim

Forked from rpms/shim 4 years ago
Clone

Blame SOURCES/0007-propagate-some-path-variables.patch

4210fa
From 476d376ed08e1431bf7e20bf47ea3fc6c36dd168 Mon Sep 17 00:00:00 2001
4210fa
From: Andrew Boie <andrew.p.boie@intel.com>
4210fa
Date: Mon, 11 Nov 2013 16:15:39 -0800
4210fa
Subject: [PATCH 07/74] propagate some path variables
4210fa
4210fa
If these are overridden on the command line, pass them along to
4210fa
the sub-makes.
4210fa
4210fa
Change-Id: I531ccb5d2f5e4be8e99d4892cdcfffffc1ad9877
4210fa
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
4210fa
---
4210fa
 Makefile | 6 +++---
4210fa
 1 file changed, 3 insertions(+), 3 deletions(-)
4210fa
4210fa
diff --git a/Makefile b/Makefile
4210fa
index 2eab862..d619ff4 100644
4210fa
--- a/Makefile
4210fa
+++ b/Makefile
4210fa
@@ -92,13 +92,13 @@ MokManager.so: $(MOK_OBJS) Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a
4210fa
 	$(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS) lib/lib.a
4210fa
 
4210fa
 Cryptlib/libcryptlib.a:
4210fa
-	$(MAKE) -C Cryptlib
4210fa
+	$(MAKE) -C Cryptlib EFI_PATH=$(EFI_PATH) EFI_INCLUDE=$(EFI_INCLUDE) ARCH=$(ARCH)
4210fa
 
4210fa
 Cryptlib/OpenSSL/libopenssl.a:
4210fa
-	$(MAKE) -C Cryptlib/OpenSSL
4210fa
+	$(MAKE) -C Cryptlib/OpenSSL EFI_PATH=$(EFI_PATH) EFI_INCLUDE=$(EFI_INCLUDE) ARCH=$(ARCH) 
4210fa
 
4210fa
 lib/lib.a:
4210fa
-	$(MAKE) -C lib EFI_PATH=$(EFI_PATH)
4210fa
+	$(MAKE) -C lib EFI_PATH=$(EFI_PATH) EFI_INCLUDE=$(EFI_INCLUDE) ARCH=$(ARCH)
4210fa
 
4210fa
 %.efi: %.so
4210fa
 	objcopy -j .text -j .sdata -j .data \
4210fa
-- 
4210fa
1.9.3
4210fa