Skip to content

Commit

Permalink
Use /bin/sh rather than /bin/bash for determining hard/soft float
Browse files Browse the repository at this point in the history
See: #153
  • Loading branch information
popcornmix committed Dec 7, 2014
1 parent a7513b5 commit 82ca97b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpi-update
Expand Up @@ -80,7 +80,7 @@ function update_modules {
function update_vc_libs {
echo " *** Updating VideoCore libraries"

ELFOUTPUT=$(readelf -a "${ROOT_PATH}/bin/bash")
ELFOUTPUT=$(readelf -a "${ROOT_PATH}/bin/sh")
if [ "${ELFOUTPUT}" != "${ELFOUTPUT/VFP_args/}" ]; then
echo " *** Using HardFP libraries"
cp -R "${FW_REPOLOCAL}/vc/hardfp/"* "${ROOT_PATH}/"
Expand Down

0 comments on commit 82ca97b

Please sign in to comment.