linux{3.1[89],4.0}: fix $STRIP with the dummy strip(1) wrapper.
This commit is contained in:
parent
c8a3ec9b0c
commit
d3a9e61ad1
3 changed files with 3 additions and 3 deletions
|
@ -3,5 +3,5 @@ mod=$1
|
|||
mkdir -p usr/lib/debug/${mod%/*}
|
||||
$OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
|
||||
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
|
||||
$STRIP --strip-debug $mod
|
||||
/usr/bin/$STRIP --strip-debug $mod
|
||||
gzip -9 $mod
|
||||
|
|
|
@ -3,5 +3,5 @@ mod=$1
|
|||
mkdir -p usr/lib/debug/${mod%/*}
|
||||
$OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
|
||||
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
|
||||
$STRIP --strip-debug $mod
|
||||
/usr/bin/$STRIP --strip-debug $mod
|
||||
gzip -9 $mod
|
||||
|
|
|
@ -3,5 +3,5 @@ mod=$1
|
|||
mkdir -p usr/lib/debug/${mod%/*}
|
||||
$OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod
|
||||
$OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod
|
||||
$STRIP --strip-debug $mod
|
||||
/usr/bin/$STRIP --strip-debug $mod
|
||||
gzip -9 $mod
|
||||
|
|
Loading…
Reference in a new issue