arrfab / rpms / shim

Forked from rpms/shim 4 years ago
Clone

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

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