VirtualBox

Changeset 294 in kBuild for trunk


Ignore:
Timestamp:
Jun 14, 2005 3:26:52 AM (20 years ago)
Author:
bird
Message:

map files.

File:
1 edited

Legend:

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

    r235 r294  
    6464endif
    6565TOOL_GCC3OMF_LDFLAGS.sysmod     := -r
     66TOOL_GCC3OMF_LD_MAP              = -Zmap=$(1)
     67TOOL_GCC3OMF_LD_SYSMOD_MAP       = -Zmap=$(1)
    6668
    6769ifdef SLKRUNS
     
    167169                $(filter %.def, $(othersrc)) \
    168170                $(foreach p,$(libpath), -L$(p)) \
    169                 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib)))
     171                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib))) \
     172                $(call TOOL_GCC3_LD_MAP,$(outbase).map)
    170173ifneq ($(custom_post),)
    171174        $(eval $(custom_post))
    172175endif
     176_OUT_FILES += $(outbase).map
    173177
    174178endef
     
    199203        $(filter %.def, $(othersrc)) \
    200204        $(foreach p,$(libpath), -L$(p)) \
    201         $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib)))
     205        $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib))) \
     206        $(call TOOL_GCC3_LD_MAP,$(outbase).map)
    202207ifneq ($(custom_post),)
    203208        $(eval $(custom_post))
    204209endif
     210_OUT_FILES += $(outbase).map
    205211
    206212endef
     
    230236                $(filter %.def, $(othersrc)) \
    231237                $(foreach p,$(libpath), -L$(p)) \
    232                 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib)))
     238                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(basename $(lib))), $(lib))) \
     239                $(call TOOL_GCC3_LD_SYSMOD_MAP,$(outbase).map)
    233240ifneq ($(custom_post),)
    234241        $(eval $(custom_post))
    235242endif
    236 
    237 endef
    238 
     243_OUT_FILES += $(outbase).map
     244
     245endef
     246
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette