Some Raspberry Pi build fixes (including Raspberry Pi 2 support).

Fixes Bugzilla #2879.

--HG--
extra : rebase_source : b9b8a69e971e5bf910c0dc592b5d9bf3c15e13ca
This commit is contained in:
Ryan C. Gordon 2015-04-11 05:58:37 +00:00
parent beb96e3199
commit 64accce776
3 changed files with 7 additions and 0 deletions

View file

@ -898,6 +898,7 @@ EOF
else
case `sed -n '/^Hardware/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
BCM2708) MANUFACTURER=raspberry;;
BCM2709) MANUFACTURER=raspberry;;
*) MANUFACTURER=unknown;;
esac
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \