From 1970a52fc9c82bb37b41e36af236f950a3579872 Mon Sep 17 00:00:00 2001 From: thedax Date: Thu, 21 Feb 2019 21:26:41 -0500 Subject: [PATCH] Allow the user to build with a prebuilt sept-secondary blob via a SEPT_ENC_PATH variable. (#365) --- sept/sept-secondary/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sept/sept-secondary/Makefile b/sept/sept-secondary/Makefile index b09d2359d..e5361512d 100644 --- a/sept/sept-secondary/Makefile +++ b/sept/sept-secondary/Makefile @@ -120,8 +120,12 @@ check_rebootstub: @$(MAKE) -C $(AMS)/exosphere/rebootstub all $(BUILD): +ifeq ($(strip $(SEPT_ENC_PATH)),) @[ -d $@ ] || mkdir -p $@ @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile +else + @cp $(SEPT_ENC_PATH) $(TOPDIR)/sept-secondary.enc +endif #--------------------------------------------------------------------------------- clean: