From e26e1df07fce287d7340af3968b53c05da221861 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 27 Oct 2020 13:08:07 -0700 Subject: [PATCH] meso: correct .o dependencies in kernel/kldr --- mesosphere/kernel/Makefile | 4 +++- mesosphere/kernel_ldr/Makefile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mesosphere/kernel/Makefile b/mesosphere/kernel/Makefile index 6cb971b1c..d5e3deb68 100644 --- a/mesosphere/kernel/Makefile +++ b/mesosphere/kernel/Makefile @@ -105,7 +105,9 @@ $(OUTPUT).bin : $(OUTPUT).elf $(OBJCOPY) -S -O binary --set-section-flags .bss=alloc,load,contents $< $@ @echo built ... $(notdir $@) -$(OUTPUT).elf : $(OFILES) $(ATMOSPHERE_LIBRARIES_DIR)/libmesosphere/$(ATMOSPHERE_LIBRARY_DIR)/lib$(LIBMESOSPHERE_NAME).a +$(OUTPUT).elf : $(OFILES) + +$(OFILES) : $(ATMOSPHERE_LIBRARIES_DIR)/libmesosphere/$(ATMOSPHERE_LIBRARY_DIR)/lib$(LIBMESOSPHERE_NAME).a %.elf: @echo linking $(notdir $@) diff --git a/mesosphere/kernel_ldr/Makefile b/mesosphere/kernel_ldr/Makefile index 6cb971b1c..d5e3deb68 100644 --- a/mesosphere/kernel_ldr/Makefile +++ b/mesosphere/kernel_ldr/Makefile @@ -105,7 +105,9 @@ $(OUTPUT).bin : $(OUTPUT).elf $(OBJCOPY) -S -O binary --set-section-flags .bss=alloc,load,contents $< $@ @echo built ... $(notdir $@) -$(OUTPUT).elf : $(OFILES) $(ATMOSPHERE_LIBRARIES_DIR)/libmesosphere/$(ATMOSPHERE_LIBRARY_DIR)/lib$(LIBMESOSPHERE_NAME).a +$(OUTPUT).elf : $(OFILES) + +$(OFILES) : $(ATMOSPHERE_LIBRARIES_DIR)/libmesosphere/$(ATMOSPHERE_LIBRARY_DIR)/lib$(LIBMESOSPHERE_NAME).a %.elf: @echo linking $(notdir $@)