Created
December 31, 2022 12:57
-
-
Save devymex/537f823c85e158696466db9537868979 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash -e | |
export TOOLCHAIN_ROOT="/heop/.tool/toolchain/arm-ca9-linux-gnueabihf-6.5" | |
export PATH=$TOOLCHAIN_ROOT/bin:$PATH | |
export CPPFLAGS="--sysroot=$TOOLCHAIN_ROOT/arm-ca9-linux-gnueabihf/sysroot" | |
export AR=arm-linux-ar | |
export AS=arm-linux-as | |
export LD=arm-linux-ld | |
export RANLIB=arm-linux-ranlib | |
export CC=arm-linux-gcc | |
export NM=arm-linux-nm | |
autoreconf -fi | |
./configure --host=arm-ca9-linux-gnueabihf --prefix=/mnt/hik/curl/build/install --without-ssl | |
make -j$(grep -c ^processor /proc/cpuinfo) | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment