Support armv6 devices (Pi Zero) (#588)
This commit is contained in:
committed by
Nikolay Igotti
parent
cdec464b29
commit
dfc179e2b9
@@ -86,8 +86,8 @@ dependencies.linux = \
|
||||
libffi-3.2.1-2-linux-x86-64
|
||||
|
||||
# Raspberry Pi
|
||||
arch.linux-raspberrypi = armv7
|
||||
quadruple.linux-raspberrypi = armv7-unknown-linux-gnueabihf
|
||||
arch.linux-raspberrypi = armv6
|
||||
quadruple.linux-raspberrypi = armv6-unknown-linux-gnueabihf
|
||||
targetSysRoot.linux-raspberrypi = target-sysroot-1-raspberrypi
|
||||
libffiDir.linux-raspberrypi = libffi-3.2.1-2-raspberrypi
|
||||
libGcc.linux-raspberrypi = target-sysroot-1-raspberrypi/lib/gcc/arm-linux-gnueabihf/4.8.3/
|
||||
|
||||
+1
-1
@@ -72,7 +72,7 @@ void setupCompilationFlags() {
|
||||
[(ext.host):
|
||||
["--sysroot=${gccToolchainDir}/${gnuTriplet}/sysroot"],
|
||||
"raspberrypi":
|
||||
["-target", "armv7-unknown-linux-gnueabihf",
|
||||
["-target", "armv6-unknown-linux-gnueabihf",
|
||||
"-mfpu=vfp", "-mfloat-abi=hard",
|
||||
"--sysroot=$raspberryPiSysrootDir",
|
||||
// TODO: those two are hacks.
|
||||
|
||||
Reference in New Issue
Block a user