From 90f792b1cc4f04f28dfc527648465f074c01693e Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 23 Feb 2018 04:15:14 -0800 Subject: [PATCH] Remove Makefile copy/paste leftovers for bpmpfw --- exosphere/bpmpfw/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/exosphere/bpmpfw/Makefile b/exosphere/bpmpfw/Makefile index ffee95e1f..55b1d4f01 100644 --- a/exosphere/bpmpfw/Makefile +++ b/exosphere/bpmpfw/Makefile @@ -35,10 +35,6 @@ objects = $(patsubst $(dir_source)/%.s, $(dir_build)/%.o, \ $(patsubst $(dir_source)/%.c, $(dir_build)/%.o, \ $(call rwildcard, $(dir_source), *.s *.c))) -define bin2o - bin2s $< | $(AS) -o $(@) -endef - .PHONY: all all: $(dir_out)/$(name).bin @@ -51,7 +47,7 @@ $(dir_out)/$(name).bin: $(dir_build)/$(name).elf @mkdir -p "$(@D)" $(OBJCOPY) -S -O binary $< $@ -$(dir_build)/$(name).elf: $(bundled) $(objects) +$(dir_build)/$(name).elf: $(objects) $(LINK.o) -T linker.ld $(OUTPUT_OPTION) $^ $(dir_build)/%.bin.o: $(dir_build)/%.bin