From 10ce90fca20fce776b8bdad504a5e3b915ded99f Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov" Date: Sun, 30 Oct 2016 11:26:25 +0300 Subject: [PATCH 1/2] Fix armv7 autodetection armv7l is armv7 architecture and CFG_CPUTYPE should be armv7 in order to end up with armv7-unknown-linux-gnueabihf.mk rather than arm-unknown-linux-gnueabihf.mk --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2bc8c72e3ea..d62084cb465 100755 --- a/configure +++ b/configure @@ -508,7 +508,7 @@ case $CFG_CPUTYPE in ;; armv7l) - CFG_CPUTYPE=arm + CFG_CPUTYPE=armv7 CFG_OSTYPE="${CFG_OSTYPE}eabihf" ;; From 9b81f3c81b6340221f9713afa9ead070086d7314 Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov" Date: Sun, 30 Oct 2016 11:27:58 +0300 Subject: [PATCH 2/2] Add armv6l autodetection Use arm-unknown-linux-gnueabihf for hardware floating point armv6 variant --- configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index d62084cb465..4e62e49412e 100755 --- a/configure +++ b/configure @@ -507,6 +507,11 @@ case $CFG_CPUTYPE in CFG_CPUTYPE=arm ;; + armv6l) + CFG_CPUTYPE=arm + CFG_OSTYPE="${CFG_OSTYPE}eabihf" + ;; + armv7l) CFG_CPUTYPE=armv7 CFG_OSTYPE="${CFG_OSTYPE}eabihf"