Allow the user to build with a prebuilt sept-secondary blob via a SEPT_ENC_PATH variable.

This commit is contained in:
The Dax 2019-02-21 21:19:59 -05:00
parent 37161c5d11
commit 75fbcdb682

View File

@ -120,8 +120,12 @@ check_rebootstub:
@$(MAKE) -C $(AMS)/exosphere/rebootstub all @$(MAKE) -C $(AMS)/exosphere/rebootstub all
$(BUILD): $(BUILD):
ifeq ($(strip $(SEPT_ENC_PATH)),)
@[ -d $@ ] || mkdir -p $@ @[ -d $@ ] || mkdir -p $@
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile @$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
else
@cp $(SEPT_ENC_PATH) $(TOPDIR)/sept-secondary.enc
endif
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
clean: clean: