Created
September 21, 2013 23:50
-
-
Save TooTallNate/6655320 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
#!/usr/bin/env sh | |
export AR=arm-unknown-linux-gnueabi-ar | |
export CC=arm-unknown-linux-gnueabi-gcc | |
export CXX=arm-unknown-linux-gnueabi-g++ | |
export LINK="$CXX" | |
export CFLAGS="-march=armv6j -mfpu=vfp -mfloat-abi=hard" | |
export CXXFLAGS="$CFLAGS" | |
make binary BINARYNAME=node-v`python tools/getnodeversion.py`-linux-arm-pi DESTCPU=arm CONFIG_FLAGS="--without-dtrace --dest-os=linux" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment