- Timestamp:
- Jun 14, 2005 3:26:52 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC3OMF.kmk
r235 r294 64 64 endif 65 65 TOOL_GCC3OMF_LDFLAGS.sysmod := -r 66 TOOL_GCC3OMF_LD_MAP = -Zmap=$(1) 67 TOOL_GCC3OMF_LD_SYSMOD_MAP = -Zmap=$(1) 66 68 67 69 ifdef SLKRUNS … … 167 169 $(filter %.def, $(othersrc)) \ 168 170 $(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) 170 173 ifneq ($(custom_post),) 171 174 $(eval $(custom_post)) 172 175 endif 176 _OUT_FILES += $(outbase).map 173 177 174 178 endef … … 199 203 $(filter %.def, $(othersrc)) \ 200 204 $(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) 202 207 ifneq ($(custom_post),) 203 208 $(eval $(custom_post)) 204 209 endif 210 _OUT_FILES += $(outbase).map 205 211 206 212 endef … … 230 236 $(filter %.def, $(othersrc)) \ 231 237 $(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) 233 240 ifneq ($(custom_post),) 234 241 $(eval $(custom_post)) 235 242 endif 236 237 endef 238 243 _OUT_FILES += $(outbase).map 244 245 endef 246
Note:
See TracChangeset
for help on using the changeset viewer.