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