From e1779581e2a4c874abdcf4bf1f0b0649ef597a8a Mon Sep 17 00:00:00 2001 From: pvvx Date: Sun, 18 Dec 2016 00:53:32 +0300 Subject: [PATCH] fix mingw errors 'long command line' --- sdkbuild.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdkbuild.mk b/sdkbuild.mk index fd7be8c..1dcdc1d 100644 --- a/sdkbuild.mk +++ b/sdkbuild.mk @@ -55,7 +55,8 @@ application: build_info $(SRC_O) $(DRAM_O) @echo "===========================================================" @echo "Link ($(TARGET))" # @echo "===========================================================" - @$(LD) $(LFLAGS) -o $(ELFFILE) $(OBJ_LIST) $(OBJ_DIR)/ram_1.r.o $(LIBFLAGS) -T$(LDFILE) + @$(file > $(OBJ_DIR)/obj_list.lst,$(OBJ_LIST)) + @$(LD) $(LFLAGS) -o $(ELFFILE) @$(OBJ_DIR)/obj_list.lst $(OBJ_DIR)/ram_1.r.o $(LIBFLAGS) -T$(LDFILE) @$(OBJDUMP) -d $(ELFFILE) > $(OBJ_DIR)/$(TARGET).asm .PHONY: prerequirement