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
|
libffi-3.2.1-2-linux-x86-64
|
||||||
|
|
||||||
# Raspberry Pi
|
# Raspberry Pi
|
||||||
arch.linux-raspberrypi = armv7
|
arch.linux-raspberrypi = armv6
|
||||||
quadruple.linux-raspberrypi = armv7-unknown-linux-gnueabihf
|
quadruple.linux-raspberrypi = armv6-unknown-linux-gnueabihf
|
||||||
targetSysRoot.linux-raspberrypi = target-sysroot-1-raspberrypi
|
targetSysRoot.linux-raspberrypi = target-sysroot-1-raspberrypi
|
||||||
libffiDir.linux-raspberrypi = libffi-3.2.1-2-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/
|
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):
|
[(ext.host):
|
||||||
["--sysroot=${gccToolchainDir}/${gnuTriplet}/sysroot"],
|
["--sysroot=${gccToolchainDir}/${gnuTriplet}/sysroot"],
|
||||||
"raspberrypi":
|
"raspberrypi":
|
||||||
["-target", "armv7-unknown-linux-gnueabihf",
|
["-target", "armv6-unknown-linux-gnueabihf",
|
||||||
"-mfpu=vfp", "-mfloat-abi=hard",
|
"-mfpu=vfp", "-mfloat-abi=hard",
|
||||||
"--sysroot=$raspberryPiSysrootDir",
|
"--sysroot=$raspberryPiSysrootDir",
|
||||||
// TODO: those two are hacks.
|
// TODO: those two are hacks.
|
||||||
|
|||||||
Reference in New Issue
Block a user