Changeset 2535 for trunk/kBuild/tools/GCC4MACHO.kmk
- Timestamp:
- Aug 2, 2011, 9:05:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC4MACHO.kmk
r2523 r2535 106 106 TOOL_GCC4MACHO_LDFLAGS.profile ?= -g 107 107 108 TOOL_GCC4MACHO_STRIP_PROGRAM ?= strip -SXxru 109 TOOL_GCC4MACHO_STRIP_DLL ?= strip -Sxru 110 TOOL_GCC4MACHO_STRIP_SYSMOD ?= strip -Sru 111 108 112 109 113 ## 110 114 # Calculate the files in the debug bundle. 111 115 # @param 1 The whole output filename. 112 # @param 2 The output filename sans suffix. 116 # @param 2 The output filename sans suffix. 113 117 TOOL_GCC4MACHO_DEBUG_BUNDLE_FN = \ 114 118 $(1).dSYM/ \ … … 122 126 # Calculate the files in the debug bundle. 123 127 # @param 1 The whole linker output filename. 124 # @param 2 The linker output filename sans suffix. 128 # @param 2 The linker output filename sans suffix. 125 129 # @param 3 The desired install name (no dir slash). 130 # @remarks The Info.plist has some reference to the original name, but gdb 131 # does not care and only check for a symbol file in the DWARF 132 # directory with the same name as the debugged module. 126 133 TOOL_GCC4MACHO_DEBUG_INSTALL_FN= \ 127 134 $(3).dSYM/ \ … … 130 137 $(3).dSYM/Contents/Resources/DWARF/ \ 131 138 $(1).dSYM/Contents/Info.plist=>$(3).dSYM/Contents/Info.plist \ 132 $(1).dSYM/Contents/Resources/DWARF/$(notdir $(1))=>$(3).dSYM/Contents/Resources/DWARF/$(notdir $( 1))139 $(1).dSYM/Contents/Resources/DWARF/$(notdir $(1))=>$(3).dSYM/Contents/Resources/DWARF/$(notdir $(3)) 133 140 134 141 … … 388 395 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 389 396 ifeq ($(ld_debug),split) 390 $(QUIET)$(TOOL_GCC4MACHO_DSYMUTIL) --verbose -o $(out).dSYM/ $(out) 397 $(QUIET)$(TOOL_GCC4MACHO_DSYMUTIL) -o $(out).dSYM/ $(out) 398 $(QUIET)$(TOOL_GCC4MACHO_STRIP_PROGRAM) $(out) 391 399 endif 392 400 endef … … 420 428 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 421 429 ifeq ($(ld_debug),split) 422 $(QUIET)$(TOOL_GCC4MACHO_DSYMUTIL) --verbose -o $(out).dSYM/ $(out) 430 $(QUIET)$(TOOL_GCC4MACHO_DSYMUTIL) -o $(out).dSYM/ $(out) 431 $(QUIET)$(TOOL_GCC4MACHO_STRIP_DLL) $(out) 423 432 endif 424 433 endef … … 450 459 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib))) 451 460 ifeq ($(ld_debug),split) 452 $(QUIET)$(TOOL_GCC4MACHO_DSYMUTIL) --verbose -o $(out).dSYM/ $(out) 461 $(QUIET)$(TOOL_GCC4MACHO_DSYMUTIL) -o $(out).dSYM/ $(out) 462 $(QUIET)$(TOOL_GCC4MACHO_STRIP_SYSMOD) $(out) 453 463 endif 454 464 endef
Note:
See TracChangeset
for help on using the changeset viewer.