add AR definition for arm-linux-gnueabihf
diff mbox

Message ID
State New
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/ | 1 +
 1 file changed, 1 insertion(+)

diff mbox

diff --git a/userdata/conf/ b/userdata/conf/
index b56f42e..14101b2 100755
--- a/userdata/conf/
+++ b/userdata/conf/
@@ -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