summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Boie <andrew.p.boie@intel.com>2013-11-11 16:15:39 -0800
committerPeter Jones <pjones@redhat.com>2013-11-12 10:30:53 -0500
commit476d376ed08e1431bf7e20bf47ea3fc6c36dd168 (patch)
tree62ab3e97fcf614d0c604fedf4b676e1877b1a644
parent06e15d762966d4224f7e54480b9213c4dcf1fe35 (diff)
downloadefi-boot-shim-476d376ed08e1431bf7e20bf47ea3fc6c36dd168.tar.gz
efi-boot-shim-476d376ed08e1431bf7e20bf47ea3fc6c36dd168.zip
propagate some path variables
If these are overridden on the command line, pass them along to the sub-makes. Change-Id: I531ccb5d2f5e4be8e99d4892cdcfffffc1ad9877 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2eab8622..d619ff49 100644
--- a/Makefile
+++ b/Makefile
@@ -92,13 +92,13 @@ MokManager.so: $(MOK_OBJS) Cryptlib/libcryptlib.a Cryptlib/OpenSSL/libopenssl.a
$(LD) -o $@ $(LDFLAGS) $^ $(EFI_LIBS) lib/lib.a
Cryptlib/libcryptlib.a:
- $(MAKE) -C Cryptlib
+ $(MAKE) -C Cryptlib EFI_PATH=$(EFI_PATH) EFI_INCLUDE=$(EFI_INCLUDE) ARCH=$(ARCH)
Cryptlib/OpenSSL/libopenssl.a:
- $(MAKE) -C Cryptlib/OpenSSL
+ $(MAKE) -C Cryptlib/OpenSSL EFI_PATH=$(EFI_PATH) EFI_INCLUDE=$(EFI_INCLUDE) ARCH=$(ARCH)
lib/lib.a:
- $(MAKE) -C lib EFI_PATH=$(EFI_PATH)
+ $(MAKE) -C lib EFI_PATH=$(EFI_PATH) EFI_INCLUDE=$(EFI_INCLUDE) ARCH=$(ARCH)
%.efi: %.so
objcopy -j .text -j .sdata -j .data \