Changeset 773 for trunk/kBuild/tools


Ignore:
Timestamp:
Jan 19, 2007, 6:12:22 AM (19 years ago)
Author:
bird
Message:

Use response files (untested). Fixes #9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kBuild/tools/GCC3OMF.kmk

    r772 r773  
    166166# @param    $(outbase)  Output basename (full). Use this for list files and such.
    167167TOOL_GCC3OMF_LINK_LIBRARY_OUTPUT =
    168 TOOL_GCC3OMF_LINK_LIBRARY_DEPEND = $(othersrc)
     168TOOL_GCC3OMF_LINK_LIBRARY_DEPEND = $(othersrc) $(outbase).rsp
    169169TOOL_GCC3OMF_LINK_LIBRARY_DEPORD =
    170170define TOOL_GCC3OMF_LINK_LIBRARY_CMDS
    171         $(QUIET)$(if $(filter %.def %.imp,$(othersrc)),$(TOOL_GCC3OMF_AR_IMP) -o $(out) $(filter %.def %.imp,$(othersrc)),)
    172         $(QUIET)$(TOOL_GCC3OMF_AR) $(flags) $(out) $(objs) $(filter-out %.def %.imp,$(othersrc))
     171        $(if $(filter %.def %.imp,$(othersrc))\
     172                ,$(QUIET)$(APPEND) -n $(outbase).rsp $(out) $(filter %.def %.imp,$(othersrc))\
     173                 $(NL)$(TAB)$(QUIET)$(QUIET)$(TOOL_GCC3OMF_AR_IMP) -o $(out) @$(outbase).rsp\
     174                 $(NL)$(TAB)$(QUIET)$(RM) -f $(outbase).rsp)
     175        $(QUIET)$(APPEND) -n $(outbase).rsp $(objs) $(filter-out %.def %.imp,$(othersrc))
     176        $(QUIET)$(TOOL_GCC3OMF_AR) $(flags) $(out) @$(outbase).rsp
    173177endef
    174178
Note: See TracChangeset for help on using the changeset viewer.