mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
Update debug packages to place symbol files in a .debug directory - fixes certain packaging problems
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@578 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -177,10 +177,12 @@ runstrip() {
|
||||
ro=1
|
||||
chmod +w "$1"
|
||||
}
|
||||
'${OBJCOPY}' --only-keep-debug "$1" "$1.dbg"
|
||||
mkdir $(dirname "$1")/.debug
|
||||
debugfile="$(dirname "$1")/.debug/$(basename "$1")"
|
||||
'${OBJCOPY}' --only-keep-debug "$1" "$debugfile"
|
||||
'${STRIP}' "$1"
|
||||
st=$?
|
||||
'${OBJCOPY}' --add-gnu-debuglink="$1.dbg" "$1"
|
||||
'${OBJCOPY}' --add-gnu-debuglink="$debugfile" "$1"
|
||||
test -n "$ro" && chmod -w "$1"
|
||||
if test $st -ne 0
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user