Created
March 30, 2020 17:30
-
-
Save wadouk/9daf83a7ec80f9dfd546e90bb058f301 to your computer and use it in GitHub Desktop.
Revisions
-
wadouk created this gist
Mar 30, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ # http://developer.asustor.com/tools # from https://neerajcodes.wordpress.com/2017/08/06/intro-to-cross-compilation/ export CCHOST=arm-marvell-linux-gnueabi export TOOLCAHIN=../$CCHOST/bin/$CCHOST export CC=$TOOLCAHIN-gcc export LD=$TOOLCAHIN-ld export CPP=$TOOLCAHIN-cpp export CXX=$TOOLCAHIN-g++ export AR=$TOOLCAHIN-ar ./configure --prefix=$(pwd)/target/ --host=CCHOST