mirror of
https://github.com/raspberrypi/rpi-update.git
synced 2026-01-20 21:13:38 +08:00
Use /bin/sh rather than /bin/bash for determining hard/soft float
See: https://github.com/Hexxeh/rpi-update/issues/153
This commit is contained in:
@@ -80,7 +80,7 @@ function update_modules {
|
|||||||
function update_vc_libs {
|
function update_vc_libs {
|
||||||
echo " *** Updating VideoCore libraries"
|
echo " *** Updating VideoCore libraries"
|
||||||
|
|
||||||
ELFOUTPUT=$(readelf -a "${ROOT_PATH}/bin/bash")
|
ELFOUTPUT=$(readelf -a "${ROOT_PATH}/bin/sh")
|
||||||
if [ "${ELFOUTPUT}" != "${ELFOUTPUT/VFP_args/}" ]; then
|
if [ "${ELFOUTPUT}" != "${ELFOUTPUT/VFP_args/}" ]; then
|
||||||
echo " *** Using HardFP libraries"
|
echo " *** Using HardFP libraries"
|
||||||
cp -R "${FW_REPOLOCAL}/vc/hardfp/"* "${ROOT_PATH}/"
|
cp -R "${FW_REPOLOCAL}/vc/hardfp/"* "${ROOT_PATH}/"
|
||||||
|
|||||||
Reference in New Issue
Block a user