Subversion Repositories DevTools

Rev

Rev 4928 | Rev 5115 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4928 Rev 4949
Line 527... Line 527...
527
endef
527
endef
528
 
528
 
529
 
529
 
530
#
530
#
531
#   LDSTRIP
531
#   LDSTRIP
532
#       $1 - Full name of the ouput
532
#       $1 - Full name of the output
533
#       $2 - Full name of debug file
533
#       $2 - Full name of debug file
534
define LDSTRIP
534
define LDSTRIP
535
    $(GCC_OBJCOPY) --only-keep-debug $1 $2 || rm -f $1 $2
535
    $(GCC_OBJCOPY) --only-keep-debug $1 $2 || rm -f $1 $2
536
    $(GCC_OBJCOPY) --strip-debug $1 || rm -f $1 $2
536
    $(GCC_OBJCOPY) --strip-debug $1 || rm -f $1 $2
537
    $(GCC_OBJCOPY) --add-gnu-debuglink=$2 $1 || rm -f $1 $2
537
    $(GCC_OBJCOPY) --add-gnu-debuglink=$2 $1 || rm -f $1 $2