Raspberry Pi support (also unified UDEV and EVDEV support)
This commit is contained in:
parent
e0b5831e14
commit
c7f38347b7
21 changed files with 2331 additions and 46 deletions
8
build-scripts/config.guess
vendored
8
build-scripts/config.guess
vendored
|
@ -896,12 +896,16 @@ EOF
|
|||
then
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
else
|
||||
case `sed -n '/^Hardware/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||
BCM2708) MANUFACTURER=raspberry;;
|
||||
*) MANUFACTURER=unknown;;
|
||||
esac
|
||||
if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
|
||||
| grep -q __ARM_PCS_VFP
|
||||
then
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnueabi
|
||||
echo ${UNAME_MACHINE}-${MANUFACTURER}-linux-gnueabi
|
||||
else
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnueabihf
|
||||
echo ${UNAME_MACHINE}-${MANUFACTURER}-linux-gnueabihf
|
||||
fi
|
||||
fi
|
||||
exit ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue