summaryrefslogtreecommitdiff
path: root/users/jdelkins/rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'users/jdelkins/rules.mk')
-rw-r--r--users/jdelkins/rules.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/users/jdelkins/rules.mk b/users/jdelkins/rules.mk
index 70769c8819..075aab7d3b 100644
--- a/users/jdelkins/rules.mk
+++ b/users/jdelkins/rules.mk
@@ -1,10 +1,15 @@
SRC += jdelkins.c
-ifeq ($(strip $(NO_SECRETS)), yes)
- OPT_DEFS += -DNO_SECRETS
+ifneq ($(strip $(NO_SECRETS)),)
+ OPT_DEFS += -DNO_SECRETS
endif
+ifeq ($(shell test -f users/jdelkins/secrets.h.gpg && echo yes || echo no),yes)
+users/jdelkins/jdelkins.c: users/jdelkins/secrets.h
+ touch $@
+
users/jdelkins/secrets.h: users/jdelkins/secrets.h.gpg
gpg -d $< >$@
+endif
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite