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:
thedax authored and SciresM committed 2019-02-23 17:16:37 -08:00
1 parent 2673118478
commit 618de9546a
2 files changed
+4 -3

No files matched your search

+1
View File
@@ -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
#---------------------------------------------------------------------------------
+3 -3
View File
@@ -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
#---------------------------------------------------------------------------------