From 6633af769e8b7f3eee89b43adbaf77fcec268bd2 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 29 Dec 2020 13:01:06 -0800 Subject: [PATCH] boot: fix rebuild-every-time-make-is-invoked --- exosphere/loader_stub/Makefile | 2 +- stratosphere/boot/Makefile | 19 ++----------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/exosphere/loader_stub/Makefile b/exosphere/loader_stub/Makefile index e924eca46..4087e941f 100644 --- a/exosphere/loader_stub/Makefile +++ b/exosphere/loader_stub/Makefile @@ -120,7 +120,7 @@ $(OFILES) : $(ATMOSPHERE_LIBRARIES_DIR)/libexosphere/$(ATMOSPHERE_LIBRARY_DIR)/l program.lz4.o: program_lz4.h -program.lz4.o program_lz4.h: $(TOPDIR)/../program/program$(ATMOSPHERE_BUILD_TARGET_BINARY_SUFFIX).lz4 +program_lz4.h: $(TOPDIR)/../program/program$(ATMOSPHERE_BUILD_TARGET_BINARY_SUFFIX).lz4 @echo $(notdir $<) @rm -rf tmp_program_$(ATMOSPHERE_BUILD_TARGET_IDENTIFIER) @mkdir -p tmp_program_$(ATMOSPHERE_BUILD_TARGET_IDENTIFIER) diff --git a/stratosphere/boot/Makefile b/stratosphere/boot/Makefile index 40b971879..4775ea178 100644 --- a/stratosphere/boot/Makefile +++ b/stratosphere/boot/Makefile @@ -24,16 +24,6 @@ SFILES := $(call FIND_SOURCE_FILES,$(SOURCES),s) BINFILES := $(foreach dir,$(DATA),$(notdir $(wildcard $(dir)/*.*))) fusee-primary.bin -#--------------------------------------------------------------------------------- -# boot has a custom bin2o rule for fusee-primary -> fusee_primary -#--------------------------------------------------------------------------------- -define _bin2o - bin2s $< | $(AS) -o $(@) - echo "extern const u8" `(echo $( `(echo $(> `(echo $(> `(echo $(