mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-14 00:56:35 +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
2 changed files with 4 additions and 3 deletions
|
@ -159,6 +159,7 @@ clean:
|
||||||
@$(MAKE) -C $(AMS)/exosphere clean
|
@$(MAKE) -C $(AMS)/exosphere clean
|
||||||
@$(MAKE) -C $(AMS)/thermosphere clean
|
@$(MAKE) -C $(AMS)/thermosphere clean
|
||||||
@$(MAKE) -C $(AMS)/stratosphere clean
|
@$(MAKE) -C $(AMS)/stratosphere clean
|
||||||
|
@$(MAKE) -C $(AMS)/sept clean
|
||||||
@rm -fr $(BUILD) $(TARGET).bin $(TARGET).elf
|
@rm -fr $(BUILD) $(TARGET).bin $(TARGET).elf
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
|
@ -124,15 +124,15 @@ 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
|
else
|
||||||
@touch $(TOPDIR)/sept-secondary.bin
|
@touch $(TOPDIR)/$(TARGET).bin
|
||||||
@cp $(SEPT_ENC_PATH) $(TOPDIR)/sept-secondary.enc
|
@cp $(SEPT_ENC_PATH) $(TOPDIR)/$(TARGET).enc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
clean:
|
clean:
|
||||||
@echo clean ...
|
@echo clean ...
|
||||||
@$(MAKE) -C $(AMS)/exosphere/rebootstub 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 a new issue