diff mbox

add AR definition for arm-linux-gnueabihf

Message ID 56DA02A3.50001@sonymobile.com (mailing list archive)
State New, archived
Headers show

Commit Message

Bird, Tim March 4, 2016, 9:48 p.m. UTC
AR is used by the build for Benchmark.lmbench3
If it's missing, then the build fails.  The error is
reported as 'cr: Command not found', but it stems from
a missing value for $AR in the lmbench/src/Makefile.

---
Note that I'm using the platform 'qemu-armv7hf' when this
error occurs (so, the AR definition is missing from the integrated
ARM toolchain variables).

 userdata/conf/tools.sh | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/userdata/conf/tools.sh b/userdata/conf/tools.sh
index b56f42e..14101b2 100755
--- a/userdata/conf/tools.sh
+++ b/userdata/conf/tools.sh
@@ -54,6 +54,7 @@  then
     export CONFIGURE_FLAGS="--target=arm-linux-gnueabihf --host=arm-linux-gnueabihf --build=x86_64-linux"
     export AS=arm-linux-gnueabihf-as
     export LD=arm-linux-gnueabihf-ld
+    export AR=arm-linux-gnueabihf-ar
     export ARCH=arm
     export CROSS_COMPILE=arm-linux-gnueabihf-
     export PREFIX=arm-linux-gnueabihf