From 5e4ce4f0776772798cbe0036b3b42a4aa416fabe Mon Sep 17 00:00:00 2001 From: Marcin Sielski Date: Mon, 13 Apr 2020 16:46:53 +0200 Subject: [PATCH] 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-. --- tensorflow/lite/tools/make/targets/rpi_makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/lite/tools/make/targets/rpi_makefile.inc b/tensorflow/lite/tools/make/targets/rpi_makefile.inc index 2225848ae64..71046d08131 100644 --- a/tensorflow/lite/tools/make/targets/rpi_makefile.inc +++ b/tensorflow/lite/tools/make/targets/rpi_makefile.inc @@ -32,7 +32,7 @@ ifeq ($(TARGET),rpi) # TODO(petewarden) In the future, we'll want to use OpenBLAS as a faster # alternative to Eigen on non-NEON ARM hardware like armv6. ifeq ($(TARGET_ARCH), armv6) - TARGET_TOOLCHAIN_PREFIX := arm-linux-gnueabi- + TARGET_TOOLCHAIN_PREFIX := arm-linux-gnueabihf- CXXFLAGS += \ -march=armv6 \ -mfpu=vfp \