Makefile: fix cyclic linking dependency
This commit is contained in:
parent
3364f57d0b
commit
3c2e025216
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -132,7 +132,7 @@ $(LIBS): %:
|
|||
### Rule (link): objects (`*.o`) and libraries (`*.a`) -> `IMAGE.elf`, the final ELF binary to be packed into image (ld)
|
||||
$(IMAGE).elf: $(OBJS) am $(LIBS)
|
||||
@echo + LD "->" $(IMAGE_REL).elf
|
||||
@$(LD) $(LDFLAGS) -o $(IMAGE).elf $(LINKAGE)
|
||||
@$(LD) $(LDFLAGS) -o $(IMAGE).elf --start-group $(LINKAGE) --end-group
|
||||
|
||||
### Rule (archive): objects (`*.o`) -> `ARCHIVE.a` (ar)
|
||||
$(ARCHIVE): $(OBJS)
|
||||
|
|
Loading…
Add table
Reference in a new issue