linux{3.1[89],4.0}: fix $STRIP with the dummy strip(1) wrapper.

This commit is contained in:
Juan RP 2015-04-29 11:15:57 +02:00
parent c8a3ec9b0c
commit d3a9e61ad1
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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