Makefile: remove redundant library dependency
This commit is contained in:
parent
3348db971f
commit
3ba0c6afd7
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -129,7 +129,7 @@ $(LIBS): %:
|
||||||
@$(MAKE) -s -C $(AM_HOME)/$* archive
|
@$(MAKE) -s -C $(AM_HOME)/$* archive
|
||||||
|
|
||||||
### Rule (link): objects (`*.o`) and libraries (`*.a`) -> `IMAGE.elf`, the final ELF binary to be packed into image (ld)
|
### Rule (link): objects (`*.o`) and libraries (`*.a`) -> `IMAGE.elf`, the final ELF binary to be packed into image (ld)
|
||||||
$(IMAGE).elf: $(OBJS) am $(LIBS)
|
$(IMAGE).elf: $(OBJS) $(LIBS)
|
||||||
@echo + LD "->" $(IMAGE_REL).elf
|
@echo + LD "->" $(IMAGE_REL).elf
|
||||||
@$(LD) $(LDFLAGS) -o $(IMAGE).elf --start-group $(LINKAGE) --end-group
|
@$(LD) $(LDFLAGS) -o $(IMAGE).elf --start-group $(LINKAGE) --end-group
|
||||||
|
|
||||||
|
@ -146,7 +146,7 @@ $(ARCHIVE): $(OBJS)
|
||||||
### Build order control
|
### Build order control
|
||||||
image: image-dep
|
image: image-dep
|
||||||
archive: $(ARCHIVE)
|
archive: $(ARCHIVE)
|
||||||
image-dep: $(OBJS) am $(LIBS)
|
image-dep: $(OBJS) $(LIBS)
|
||||||
@echo \# Creating image [$(ARCH)]
|
@echo \# Creating image [$(ARCH)]
|
||||||
.PHONY: image image-dep archive run $(LIBS)
|
.PHONY: image image-dep archive run $(LIBS)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue