diff options
author | Tom Hughes <tom.hughes@palm.com> | 2010-12-08 15:37:28 -0600 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-12-22 16:12:49 -0800 |
commit | ae8262a176cfe47cf4a506433abe83d28ab97fe8 (patch) | |
tree | 12e0e3f95b9ccb6d69f07b84666c75d1e9d98a12 /README.cmake | |
parent | e03fae1447b6c1f2bd34da9a6218d124704abdc6 (diff) | |
download | android-node-v8-ae8262a176cfe47cf4a506433abe83d28ab97fe8.tar.gz android-node-v8-ae8262a176cfe47cf4a506433abe83d28ab97fe8.tar.bz2 android-node-v8-ae8262a176cfe47cf4a506433abe83d28ab97fe8.zip |
cmake: Add toolchain file for cross-compiling.
Diffstat (limited to 'README.cmake')
-rw-r--r-- | README.cmake | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/README.cmake b/README.cmake index 88cd99c869..925249c8ae 100644 --- a/README.cmake +++ b/README.cmake @@ -38,6 +38,18 @@ To submit valgrind test results: make -f Makefile.cmake cdash-mem +Cross-compiling: + An example toolchain file for the CodeSourcery ARM toolchain is included in + the cmake directory: codesourcery-arm-toolchain.cmake. + + Install the CodeSourcery toolchain, set the path to the toolchain in + cmake/codesourcery-arm-toolchain.cmake, and uncomment the TOOLCHAIN_FILE + variable in Makefile.cmake to use it. + + If you are using cmake directly, just add the flag + "-DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain-file" when + running cmake. + Using cmake directly: cd ~/your-node-source-dir mkdir name-of-build-dir (can be anything) |