Changeset 2774
- Timestamp:
- Feb 3, 2015, 8:56:24 PM (10 years ago)
- Location:
- trunk/kBuild/tools
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kBuild/tools/GCC3.kmk
r2541 r2774 275 275 $(call TOOL_GCC3_LD_MAP,$(outbase).map) 276 276 ifeq ($(ld_debug),split) 277 $( TOOL_GCC3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug278 $( CHMOD) a-x $(outbase).debug279 $( TOOL_GCC3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)277 $(QUIET)$(TOOL_GCC3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 278 $(QUIET)$(CHMOD) a-x $(outbase).debug 279 $(QUIET)$(TOOL_GCC3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 280 280 endif 281 281 endef … … 311 311 $(call TOOL_GCC3_LD_MAP,$(outbase).map) 312 312 ifeq ($(ld_debug),split) 313 $( TOOL_GCC3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug314 $( CHMOD) a-x $(outbase).debug315 $( TOOL_GCC3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)313 $(QUIET)$(TOOL_GCC3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 314 $(QUIET)$(CHMOD) a-x $(outbase).debug 315 $(QUIET)$(TOOL_GCC3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 316 316 endif 317 317 endef … … 345 345 $(call TOOL_GCC3_LD_SYSMOD_MAP,$(outbase).map) 346 346 ifeq ($(ld_debug),split) 347 $( TOOL_GCC3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug348 $( CHMOD) a-x $(outbase).debug349 $( TOOL_GCC3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)347 $(QUIET)$(TOOL_GCC3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 348 $(QUIET)$(CHMOD) a-x $(outbase).debug 349 $(QUIET)$(TOOL_GCC3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 350 350 endif 351 351 endef -
trunk/kBuild/tools/GCC32.kmk
r2541 r2774 269 269 $(call TOOL_GCC32_LD_MAP,$(outbase).map) 270 270 ifeq ($(ld_debug),split) 271 $( TOOL_GCC32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug272 $( CHMOD) a-x $(outbase).debug273 $( TOOL_GCC32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)271 $(QUIET)$(TOOL_GCC32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 272 $(QUIET)$(CHMOD) a-x $(outbase).debug 273 $(QUIET)$(TOOL_GCC32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 274 274 endif 275 275 endef … … 304 304 $(call TOOL_GCC32_LD_MAP,$(outbase).map) 305 305 ifeq ($(ld_debug),split) 306 $( TOOL_GCC32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug307 $( CHMOD) a-x $(outbase).debug308 $( TOOL_GCC32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)306 $(QUIET)$(TOOL_GCC32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 307 $(QUIET)$(CHMOD) a-x $(outbase).debug 308 $(QUIET)$(TOOL_GCC32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 309 309 endif 310 310 endef … … 338 338 $(call TOOL_GCC32_LD_SYSMOD_MAP,$(outbase).map) 339 339 ifeq ($(ld_debug),split) 340 $( TOOL_GCC32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug341 $( CHMOD) a-x $(outbase).debug342 $( TOOL_GCC32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)340 $(QUIET)$(TOOL_GCC32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 341 $(QUIET)$(CHMOD) a-x $(outbase).debug 342 $(QUIET)$(TOOL_GCC32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 343 343 endif 344 344 endef -
trunk/kBuild/tools/GCC3OMF.kmk
r2545 r2774 222 222 $(NL)$(TAB)$(QUIET)$(RM) -f $(outbase).rsp) 223 223 $(QUIET)$(APPEND) -n $(outbase).rsp $(flags) $(out) $(objs) $(filter-out %.def %.imp,$(othersrc)) 224 $( TOOL_GCC3OMF_AR) @$(outbase).rsp224 $(QUIET)$(TOOL_GCC3OMF_AR) @$(outbase).rsp 225 225 endef 226 226 … … 283 283 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 284 284 -Zmap=$(outbase).map 285 $( TOOL_GCC3OMF_LD) @$(outbase).rsp285 $(QUIET)$(TOOL_GCC3OMF_LD) @$(outbase).rsp 286 286 endef 287 287 -
trunk/kBuild/tools/GCC64.kmk
r2541 r2774 264 264 $(call TOOL_GCC64_LD_MAP,$(outbase).map) 265 265 ifeq ($(ld_debug),split) 266 $( TOOL_GCC64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug267 $( CHMOD) a-x $(outbase).debug268 $( TOOL_GCC64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)266 $(QUIET)$(TOOL_GCC64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 267 $(QUIET)$(CHMOD) a-x $(outbase).debug 268 $(QUIET)$(TOOL_GCC64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 269 269 endif 270 270 endef … … 298 298 $(call TOOL_GCC64_LD_MAP,$(outbase).map) 299 299 ifeq ($(ld_debug),split) 300 $( TOOL_GCC64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug301 $( CHMOD) a-x $(outbase).debug302 $( TOOL_GCC64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)300 $(QUIET)$(TOOL_GCC64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 301 $(QUIET)$(CHMOD) a-x $(outbase).debug 302 $(QUIET)$(TOOL_GCC64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 303 303 endif 304 304 endef … … 330 330 $(call TOOL_GCC64_LD_SYSMOD_MAP,$(outbase).map) 331 331 ifeq ($(ld_debug),split) 332 $( TOOL_GCC64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug333 $( CHMOD) a-x $(outbase).debug334 $( TOOL_GCC64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)332 $(QUIET)$(TOOL_GCC64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 333 $(QUIET)$(CHMOD) a-x $(outbase).debug 334 $(QUIET)$(TOOL_GCC64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 335 335 endif 336 336 endef -
trunk/kBuild/tools/GXX3.kmk
r2541 r2774 275 275 $(call TOOL_GXX3_LD_MAP,$(outbase).map) 276 276 ifeq ($(ld_debug),split) 277 $( TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug278 $( CHMOD) a-x $(outbase).debug279 $( TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)277 $(QUIET)$(TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 278 $(QUIET)$(CHMOD) a-x $(outbase).debug 279 $(QUIET)$(TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 280 280 endif 281 281 endef … … 311 311 $(call TOOL_GXX3_LD_MAP,$(outbase).map) 312 312 ifeq ($(ld_debug),split) 313 $( TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug314 $( CHMOD) a-x $(outbase).debug315 $( TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)313 $(QUIET)$(TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 314 $(QUIET)$(CHMOD) a-x $(outbase).debug 315 $(QUIET)$(TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 316 316 endif 317 317 endef … … 345 345 $(call TOOL_GXX3_LD_SYSMOD_MAP,$(outbase).map) 346 346 ifeq ($(ld_debug),split) 347 $( TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug348 $( CHMOD) a-x $(outbase).debug349 $( TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)347 $(QUIET)$(TOOL_GXX3_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 348 $(QUIET)$(CHMOD) a-x $(outbase).debug 349 $(QUIET)$(TOOL_GXX3_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 350 350 endif 351 351 endef -
trunk/kBuild/tools/GXX32.kmk
r2541 r2774 268 268 $(call TOOL_GXX32_LD_MAP,$(outbase).map) 269 269 ifeq ($(ld_debug),split) 270 $( TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug271 $( CHMOD) a-x $(outbase).debug272 $( TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)270 $(QUIET)$(TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 271 $(QUIET)$(CHMOD) a-x $(outbase).debug 272 $(QUIET)$(TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 273 273 endif 274 274 endef … … 303 303 $(call TOOL_GXX32_LD_MAP,$(outbase).map) 304 304 ifeq ($(ld_debug),split) 305 $( TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug306 $( CHMOD) a-x $(outbase).debug307 $( TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)305 $(QUIET)$(TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 306 $(QUIET)$(CHMOD) a-x $(outbase).debug 307 $(QUIET)$(TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 308 308 endif 309 309 endef … … 337 337 $(call TOOL_GXX32_LD_SYSMOD_MAP,$(outbase).map) 338 338 ifeq ($(ld_debug),split) 339 $( TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug340 $( CHMOD) a-x $(outbase).debug341 $( TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)339 $(QUIET)$(TOOL_GXX32_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 340 $(QUIET)$(CHMOD) a-x $(outbase).debug 341 $(QUIET)$(TOOL_GXX32_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 342 342 endif 343 343 endef -
trunk/kBuild/tools/GXX3OMF.kmk
r2545 r2774 222 222 $(NL)$(TAB)$(QUIET)$(RM) -f $(outbase).rsp) 223 223 $(QUIET)$(APPEND) -n $(outbase).rsp $(flags) $(out) $(objs) $(filter-out %.def %.imp,$(othersrc)) 224 $( TOOL_GXX3OMF_AR) @$(outbase).rsp224 $(QUIET)$(TOOL_GXX3OMF_AR) @$(outbase).rsp 225 225 endef 226 226 … … 283 283 $(foreach lib,$(libs), $(if $(findstring $(lib),$(subst /,x,$(lib))), -l$(patsubst lib%,%,$(lib)), $(lib)))\ 284 284 -Zmap=$(outbase).map 285 $( TOOL_GXX3OMF_LD) @$(outbase).rsp285 $(QUIET)$(TOOL_GXX3OMF_LD) @$(outbase).rsp 286 286 endef 287 287 -
trunk/kBuild/tools/GXX64.kmk
r2541 r2774 264 264 $(call TOOL_GXX64_LD_MAP,$(outbase).map) 265 265 ifeq ($(ld_debug),split) 266 $( TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug267 $( CHMOD) a-x $(outbase).debug268 $( TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)266 $(QUIET)$(TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 267 $(QUIET)$(CHMOD) a-x $(outbase).debug 268 $(QUIET)$(TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 269 269 endif 270 270 endef … … 298 298 $(call TOOL_GXX64_LD_MAP,$(outbase).map) 299 299 ifeq ($(ld_debug),split) 300 $( TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug301 $( CHMOD) a-x $(outbase).debug302 $( TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)300 $(QUIET)$(TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 301 $(QUIET)$(CHMOD) a-x $(outbase).debug 302 $(QUIET)$(TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 303 303 endif 304 304 endef … … 330 330 $(call TOOL_GXX64_LD_SYSMOD_MAP,$(outbase).map) 331 331 ifeq ($(ld_debug),split) 332 $( TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug333 $( CHMOD) a-x $(outbase).debug334 $( TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out)332 $(QUIET)$(TOOL_GXX64_OBJCOPY) --only-keep-debug $(out) $(outbase).debug 333 $(QUIET)$(CHMOD) a-x $(outbase).debug 334 $(QUIET)$(TOOL_GXX64_OBJCOPY) --strip-debug --strip-unneeded --add-gnu-debuglink=$(outbase).debug $(out) 335 335 endif 336 336 endef -
trunk/kBuild/tools/JWASM.kmk
r2750 r2774 53 53 TOOL_JWASM_COMPILE_AS_DEPORD = 54 54 define TOOL_JWASM_COMPILE_AS_CMDS 55 $( TOOL_JWASM_AS) -c \55 $(QUIET)$(TOOL_JWASM_AS) -c \ 56 56 $(strip $(flags)) \ 57 57 $(addprefix -D,$(defs)) \
Note:
See TracChangeset
for help on using the changeset viewer.