Skip to content

Commit

Permalink
增加app最终输出依赖库的关系
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy committed Mar 7, 2018
1 parent aba0c7c commit 0d7c877
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fcu/bcm/mk/Make.exec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LD_INFO_OPTS := -Wl,--warn-common -Wl,-Map,${OUTDIR}/${exec}.map -Wl,--verbose
endif


$(targetexec): $(BLDDIR)/.tree $(OUTDIR)/strip/.tree ${LD_O_FILES}
$(targetexec): $(BLDDIR)/.tree $(OUTDIR)/strip/.tree ${LD_O_FILES} ${LD_A_FILES}
@rm -f $@ # Prevent core dump if currently running
@$(ECHO) "[$(target)] LINK $@" # This is needed for error parsing
$(Q)$(CC) \
Expand Down
2 changes: 1 addition & 1 deletion fcu/bcm/mk/Make.kmod
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ endif

build: $(BLD_MODBUILDIN) $(BLD_MOD_FINAL)

$(BLD_MODBUILDIN): $(BLDDIR)/.tree ${LD_O_FILES}
$(BLD_MODBUILDIN): $(BLDDIR)/.tree ${LD_O_FILES} ${LD_A_FILES}
$(Q)rm -f $@
$(Q)$(ECHO) "[$(target)] LINK BLOB $(subst $(SDK)/,,$@)"
$(Q)$(LD) -o $@ -L${LIBDIR} -r -d \
Expand Down

0 comments on commit 0d7c877

Please sign in to comment.