mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-16 20:13:27 +00:00
Makefile tweaks. (#376)
-Have fusee-secondary clean sept-secondary as required. -Use $(TARGET) variable for sept-secondary, and clean the encrypted output as required.
This commit is contained in:
parent
2673118478
commit
618de9546a
@ -159,6 +159,7 @@ clean:
|
||||
@$(MAKE) -C $(AMS)/exosphere clean
|
||||
@$(MAKE) -C $(AMS)/thermosphere clean
|
||||
@$(MAKE) -C $(AMS)/stratosphere clean
|
||||
@$(MAKE) -C $(AMS)/sept clean
|
||||
@rm -fr $(BUILD) $(TARGET).bin $(TARGET).elf
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
@ -124,15 +124,15 @@ ifeq ($(strip $(SEPT_ENC_PATH)),)
|
||||
@[ -d $@ ] || mkdir -p $@
|
||||
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
|
||||
else
|
||||
@touch $(TOPDIR)/sept-secondary.bin
|
||||
@cp $(SEPT_ENC_PATH) $(TOPDIR)/sept-secondary.enc
|
||||
@touch $(TOPDIR)/$(TARGET).bin
|
||||
@cp $(SEPT_ENC_PATH) $(TOPDIR)/$(TARGET).enc
|
||||
endif
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
clean:
|
||||
@echo clean ...
|
||||
@$(MAKE) -C $(AMS)/exosphere/rebootstub clean
|
||||
@rm -fr $(BUILD) $(TARGET).bin $(TARGET).elf
|
||||
@rm -fr $(BUILD) $(TARGET).bin $(TARGET).enc $(TARGET).elf
|
||||
|
||||
|
||||
#---------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user