mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 13:52:21 +00:00
sept: update makefile vars to allow for presigned bin
This commit is contained in:
parent
24f7977fa6
commit
c077c75b8d
2 changed files with 4 additions and 4 deletions
|
@ -124,13 +124,13 @@ check_key_derivation:
|
||||||
@$(MAKE) -C key_derivation
|
@$(MAKE) -C key_derivation
|
||||||
|
|
||||||
$(BUILD): check_rebootstub check_key_derivation
|
$(BUILD): check_rebootstub check_key_derivation
|
||||||
ifeq ($(strip $(SEPT_ENC_00_PATH)),)
|
ifeq ($(strip $(SEPT_00_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
|
else
|
||||||
@touch $(TOPDIR)/$(TARGET).bin
|
@touch $(TOPDIR)/$(TARGET).bin
|
||||||
@cp $(SEPT_ENC_00_PATH) $(TOPDIR)/$(TARGET)_00.enc
|
@cp $(SEPT_00_ENC_PATH) $(TOPDIR)/$(TARGET)_00.enc
|
||||||
@cp $(SEPT_ENC_01_PATH) $(TOPDIR)/$(TARGET)_01.enc
|
@cp $(SEPT_01_ENC_PATH) $(TOPDIR)/$(TARGET)_01.enc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
|
@ -346,7 +346,7 @@ void trigger_se_blocking_op(unsigned int op, void *dst, size_t dst_size, const v
|
||||||
se->ERR_STATUS_REG = se->ERR_STATUS_REG;
|
se->ERR_STATUS_REG = se->ERR_STATUS_REG;
|
||||||
se->INT_STATUS_REG = se->INT_STATUS_REG;
|
se->INT_STATUS_REG = se->INT_STATUS_REG;
|
||||||
|
|
||||||
if (se->IN_LL_ADDR_REG != (uint32_t) get_physical_address(&in_ll) || se->OUT_LL_ADDR_REG != (uint32_t) get_physical_address(&out_ll) || (se->INT_STATUS_REG & 0x10)) {
|
if (se->IN_LL_ADDR_REG != (uint32_t) get_physical_address(&in_ll) || se->OUT_LL_ADDR_REG != (uint32_t) get_physical_address(&out_ll) || (se->FLAGS_REG & 0x3)) {
|
||||||
generic_panic();
|
generic_panic();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue