Changeset 2545


Ignore:
Timestamp:
Sep 13, 2011, 9:09:05 PM (14 years ago)
Author:
bird
Message:

tools/G*.kmk: Don't try warn about unsupported ld_debug. Double evaluation makes it show up even if ld_debug is not 'split'.

Location:
trunk/kBuild/tools
Files:
6 edited

Legend:

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

    r2541 r2545  
    206206        $(QUIET)$(TOOL_GCC_LD) $(flags) -o $(out) $(objs) \
    207207                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    208 if1of ($(ld_debug), split)
    209  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GCC.)
    210 endif
    211208endef
    212209
     
    231228        $(QUIET)$(TOOL_GCC_LD) $(TOOL_GCC_LDFLAGS.dll) $(flags) -o $(out) $(objs) \
    232229                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    233 if1of ($(ld_debug), split)
    234  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GCC.)
    235 endif
    236 endef
    237 
     230endef
     231
  • trunk/kBuild/tools/GCC3OMF.kmk

    r2534 r2545  
    253253                -Zmap=$(outbase).map
    254254        $(QUIET)$(TOOL_GCC3OMF_LD) @$(outbase).rsp
    255 if1of ($(ld_debug), split)
    256  $(warning kBuild: Debug splitting is requrested for $(target), but this feature is not supported by GCC3OMF.)
    257 endif
    258255endef
    259256
     
    287284                -Zmap=$(outbase).map
    288285        $(TOOL_GCC3OMF_LD) @$(outbase).rsp
    289 if1of ($(ld_debug), split)
    290  $(warning kBuild: Debug splitting is requrested for $(target), but this feature is not supported by GCC3OMF.)
    291 endif
    292286endef
    293287
     
    321315                -Zmap=$(outbase).map
    322316        $(QUIET)$(TOOL_GCC3OMF_LD_SYSMOD) @$(outbase).rsp
    323 if1of ($(ld_debug), split)
    324  $(warning kBuild: Debug splitting is requrested for $(target), but this feature is not supported by GCC3OMF.)
    325 endif
    326 endef
    327 
     317endef
     318
  • trunk/kBuild/tools/GCC3PLAIN.kmk

    r2541 r2545  
    258258                $(foreach p,$(libpath), -L$(p))\
    259259                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    260 if1of ($(ld_debug), split)
    261  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GCC3PLAIN.)
    262 endif
    263260endef
    264261
     
    289286                $(foreach p,$(libpath), -L$(p))\
    290287                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    291 if1of ($(ld_debug), split)
    292  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GCC3PLAIN.)
    293 endif
    294288endef
    295289
     
    323317                $(foreach p,$(libpath), -L$(p))\
    324318                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    325 if1of ($(ld_debug), split)
    326  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GCC3PLAIN.)
    327 endif
    328 endef
    329 
     319endef
     320
  • trunk/kBuild/tools/GXX.kmk

    r2541 r2545  
    206206        $(QUIET)$(TOOL_GXX_LD) $(flags) -o $(out) $(objs) \
    207207                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    208 if1of ($(ld_debug), split)
    209  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX.)
    210 endif
    211208endef
    212209
     
    231228        $(QUIET)$(TOOL_GXX_LD) $(TOOL_GXX_LDFLAGS.dll) $(flags) -o $(out) $(objs) \
    232229                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    233 if1of ($(ld_debug), split)
    234  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX.)
    235 endif
    236 endef
    237 
     230endef
     231
  • trunk/kBuild/tools/GXX3OMF.kmk

    r2534 r2545  
    253253                -Zmap=$(outbase).map
    254254        $(QUIET)$(TOOL_GXX3OMF_LD) @$(outbase).rsp
    255 if1of ($(ld_debug), split)
    256  $(warning kBuild: Debug splitting is requrested for $(target), but this feature is not supported by GXX3OMF.)
    257 endif
    258255endef
    259256
     
    287284                -Zmap=$(outbase).map
    288285        $(TOOL_GXX3OMF_LD) @$(outbase).rsp
    289 if1of ($(ld_debug), split)
    290  $(warning kBuild: Debug splitting is requrested for $(target), but this feature is not supported by GXX3OMF.)
    291 endif
    292286endef
    293287
     
    321315                -Zmap=$(outbase).map
    322316        $(QUIET)$(TOOL_GXX3OMF_LD_SYSMOD) @$(outbase).rsp
    323 if1of ($(ld_debug), split)
    324  $(warning kBuild: Debug splitting is requrested for $(target), but this feature is not supported by GXX3OMF.)
    325 endif
    326 endef
    327 
     317endef
     318
  • trunk/kBuild/tools/GXX3PLAIN.kmk

    r2541 r2545  
    258258                $(foreach p,$(libpath), -L$(p))\
    259259                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    260 if1of ($(ld_debug), split)
    261  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX3PLAIN.)
    262 endif
    263260endef
    264261
     
    289286                $(foreach p,$(libpath), -L$(p))\
    290287                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    291 if1of ($(ld_debug), split)
    292  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX3PLAIN.)
    293 endif
    294288endef
    295289
     
    323317                $(foreach p,$(libpath), -L$(p))\
    324318                $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))
    325 if1of ($(ld_debug), split)
    326  $(warning kBuild: Debug splitting is requested for $(target), but this feature is not supported by GXX3PLAIN.)
    327 endif
    328 endef
    329 
     319endef
     320
Note: See TracChangeset for help on using the changeset viewer.