summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2019-11-22 15:14:22 -0500
committerJavier Martinez Canillas <javier@dowhile0.org>2021-02-16 09:12:48 +0100
commit9b0c281db4ca94ef4299911bd966eac8f75877f2 (patch)
tree586793f6035d835c043a9d0b16ba2323e8d82198 /Makefile
parenta6c726fc81e53fff07942d0d50a7d274bedb4cb6 (diff)
downloadefi-boot-shim-9b0c281db4ca94ef4299911bd966eac8f75877f2.tar.gz
efi-boot-shim-9b0c281db4ca94ef4299911bd966eac8f75877f2.zip
Make httpboot.c always get built.
This is a backport from devel of: commit 634fd72ac6a6c6c9010c32506d524586826a8637 Author: Peter Jones <pjones@redhat.com> Date: Fri Nov 22 15:14:22 2019 -0500 Make httpboot.c always get built. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index fe860e23..226f08d3 100644
--- a/Makefile
+++ b/Makefile
@@ -33,20 +33,15 @@ CFLAGS += -DENABLE_SHIM_CERT
else
TARGETS += $(MMNAME) $(FBNAME)
endif
-OBJS = shim.o mok.o netboot.o cert.o replacements.o tpm.o version.o errlog.o sbat.o sbat_data.o pe.o
+OBJS = shim.o mok.o netboot.o cert.o replacements.o tpm.o version.o errlog.o sbat.o sbat_data.o pe.o httpboot.o
KEYS = shim_cert.h ocsp.* ca.* shim.crt shim.csr shim.p12 shim.pem shim.key shim.cer
-ORIG_SOURCES = shim.c mok.c netboot.c replacements.c tpm.c errlog.c sbat.c pe.c shim.h version.h $(wildcard include/*.h)
+ORIG_SOURCES = shim.c mok.c netboot.c replacements.c tpm.c errlog.c sbat.c pe.c httpboot.c shim.h version.h $(wildcard include/*.h)
MOK_OBJS = MokManager.o PasswordCrypt.o crypt_blowfish.o errlog.o sbat_data.o
ORIG_MOK_SOURCES = MokManager.c PasswordCrypt.c crypt_blowfish.c shim.h $(wildcard include/*.h)
FALLBACK_OBJS = fallback.o tpm.o errlog.o sbat_data.o
ORIG_FALLBACK_SRCS = fallback.c
SBATPATH = data/sbat.csv
-ifneq ($(origin ENABLE_HTTPBOOT), undefined)
- OBJS += httpboot.o
- SOURCES += httpboot.c include/httpboot.h
-endif
-
ifeq ($(SOURCE_DATE_EPOCH),)
UNAME=$(shell uname -s -m -p -i -o)
else