Fix broken armv6l platform detection (issue #71)
This commit is contained in:
parent
e6cff665a3
commit
5c2e137f7a
1 changed files with 1 additions and 1 deletions
|
|
@ -451,7 +451,7 @@ target.arch := $(firstword $(target.triplet))
|
||||||
# $ gcc -Q --help=target
|
# $ gcc -Q --help=target
|
||||||
|
|
||||||
# ARMv6: Raspberry Pi 1st gen, not detectable from target.arch
|
# ARMv6: Raspberry Pi 1st gen, not detectable from target.arch
|
||||||
ifeq ($(shell uname), armv6l)
|
ifeq ($(shell uname -m), armv6l)
|
||||||
arch.c.flags = -march=armv6 -mfpu=vfp -mfloat-abi=hard
|
arch.c.flags = -march=armv6 -mfpu=vfp -mfloat-abi=hard
|
||||||
|
|
||||||
# ARMv7: Beagle, Udoo, RPi2 etc.
|
# ARMv7: Beagle, Udoo, RPi2 etc.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue