Skip to content

Commit 43e7111

Browse files
committed
script: ease setup of env vars needed to cross-compile for ARM64
Signed-off-by: Jesper Dangaard Brouer <[email protected]>
1 parent b77e4d7 commit 43e7111

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: scripts/arm64_compile_env.source

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 'source' this script in your shell
2+
3+
export VERSION=gcc-linaro-7.3.1-2018.05-x86_64_aarch64-linux-gnu
4+
export CROSS_COMPILE_DIR=/home/${USER}/cross-compilers/${VERSION}
5+
export CROSS_COMPILE="aarch64-linux-gnu-"
6+
export ARCH=arm64
7+
8+
export PATH=${CROSS_COMPILE_DIR}/bin:${PATH}
9+
echo "Cross-compiler in PATH: $PATH"

0 commit comments

Comments
 (0)