Fix a bug related to build TF Lite on RPI Zero.

Why:

* Enable to build TF Lite on RPI Zero.

This change addresses the need by:

* Changing compiler from arm-linux-gnueabi- to arm-linux-gnueabihf-.
This commit is contained in:
Marcin Sielski 2020-04-13 16:46:53 +02:00 committed by GitHub
parent b6d4bc7fb6
commit 5e4ce4f077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ ifeq ($(TARGET),rpi)
# TODO(petewarden) In the future, we'll want to use OpenBLAS as a faster # TODO(petewarden) In the future, we'll want to use OpenBLAS as a faster
# alternative to Eigen on non-NEON ARM hardware like armv6. # alternative to Eigen on non-NEON ARM hardware like armv6.
ifeq ($(TARGET_ARCH), armv6) ifeq ($(TARGET_ARCH), armv6)
TARGET_TOOLCHAIN_PREFIX := arm-linux-gnueabi- TARGET_TOOLCHAIN_PREFIX := arm-linux-gnueabihf-
CXXFLAGS += \ CXXFLAGS += \
-march=armv6 \ -march=armv6 \
-mfpu=vfp \ -mfpu=vfp \