summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-03-11 16:44:46 -0500
committerJavier Martinez Canillas <javier@dowhile0.org>2021-03-12 10:15:01 +0100
commit076de43a0f871d9e6b6d48e013f01616e4fb1eea (patch)
treec471e199cb69e6e66422f56427b589e916dae832 /Makefile
parentb5a7c8ce6012ec8d5f9f2515537f918ef4ca9358 (diff)
downloadefi-boot-shim-076de43a0f871d9e6b6d48e013f01616e4fb1eea.tar.gz
efi-boot-shim-076de43a0f871d9e6b6d48e013f01616e4fb1eea.zip
Make ENABLE_SHIM_DEVEL work better.
This fixes ENABLE_SHIM_DEVEL to actually work, and also makes our "goto die" failure behavior change (to wait considerably longer) based on it. Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9a93d740..e43d7c7c 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,9 @@ TARGETS += $(SHIMNAME).debug $(MMNAME).debug $(FBNAME).debug
ifneq ($(origin ENABLE_SHIM_HASH),undefined)
TARGETS += $(SHIMHASHNAME)
endif
+ifneq ($(origin ENABLE_SHIM_DEVEL),undefined)
+CFLAGS += -DENABLE_SHIM_DEVEL
+endif
ifneq ($(origin ENABLE_SHIM_CERT),undefined)
TARGETS += $(MMNAME).signed $(FBNAME).signed
CFLAGS += -DENABLE_SHIM_CERT