Fixed incorrect ordering of the linker options in the build system causing link failures in some cases.
This commit is contained in:
parent
26015d432d
commit
ab8ae60058
2 changed files with 2 additions and 1 deletions
|
|
@ -304,7 +304,7 @@ $(OBJDIR)/%.o: %.S $(MAKEFILE_LIST)
|
|||
.SECONDARY : %.elf
|
||||
%.elf: $(OBJECT_FILES)
|
||||
@echo $(MSG_LINK_CMD) Linking object files into \"$@\"
|
||||
$(CROSS)-gcc $(BASE_LD_FLAGS) $(LD_FLAGS) $^ -o $@
|
||||
$(CROSS)-gcc $^ -o $@ $(BASE_LD_FLAGS) $(LD_FLAGS)
|
||||
|
||||
# Extracts out the loadable FLASH memory data from the project ELF file, and creates an Intel HEX format file of it
|
||||
%.hex: %.elf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue