mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-05 05:07:49 +00:00
Application.mk: Generate temporary name for linker object
This commit is contained in:
parent
c24703e243
commit
1632ec917e
1 changed files with 4 additions and 3 deletions
|
|
@ -188,9 +188,10 @@ PROGOBJ := $(MAINOBJ)
|
|||
|
||||
.proglist: $(MAINOBJ) $(OBJS)
|
||||
ifneq ($(PROGOBJ),)
|
||||
$(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) $(ARCHCRT0OBJ) $(firstword $(PROGOBJ)) $(LDLIBS) -o $(firstword $(PROGLIST))
|
||||
$(Q) $(NM) -u $(firstword $(PROGLIST))
|
||||
$(Q) install -m 0755 -D $(firstword $(PROGLIST)) $(BIN_DIR)/$(firstword $(PROGLIST))
|
||||
$(Q) $(LD) $(LDELFFLAGS) $(LDLIBPATH) $(ARCHCRT0OBJ) $(firstword $(PROGOBJ)) $(LDLIBS) -o $(strip $(firstword $(PROGLIST)))_
|
||||
$(Q) $(NM) -u $(strip $(firstword $(PROGLIST)))_
|
||||
$(Q) install -m 0755 -D $(strip $(firstword $(PROGLIST)))_ $(firstword $(PROGLIST))
|
||||
$(call DELFILE, $(strip $(firstword $(PROGLIST)))_)
|
||||
# $(Q) $(STRIP) $(BIN_DIR)/$(firstword $(PROGLIST)
|
||||
$(eval PROGLIST=$(filter-out $(firstword $(PROGLIST)),$(PROGLIST)))
|
||||
$(eval PROGOBJ=$(filter-out $(firstword $(PROGOBJ)),$(PROGOBJ)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue