mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Tweaked HardFP detection
This commit is contained in:
@@ -53,8 +53,8 @@ function update_modules {
|
||||
}
|
||||
|
||||
function update_sdk {
|
||||
ELFOUTPUT=`readelf -A /bin/bash`
|
||||
if [ "$ELFOUTPUT" != "${ELFOUTPUT/HardFP/}" ]; then
|
||||
ELFOUTPUT=`readelf -a /bin/bash`
|
||||
if [ "$ELFOUTPUT" != "${ELFOUTPUT/VFP_args/}" ]; then
|
||||
echo "Using HardFP libraries"
|
||||
cp -R ${FW_PATH}/vc/hardfp/* /
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user