projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
581b86e
)
esp32: add ar ranlib and linker cross paths
author
Andy Green
<andy@warmcat.com>
Wed, 14 Jun 2017 23:47:18 +0000
(07:47 +0800)
committer
Andy Green
<andy@warmcat.com>
Wed, 14 Jun 2017 23:47:18 +0000
(07:47 +0800)
cross-esp32.cmake
patch
|
blob
|
history
diff --git
a/cross-esp32.cmake
b/cross-esp32.cmake
index
8bed6ca
..
f978e80
100644
(file)
--- a/
cross-esp32.cmake
+++ b/
cross-esp32.cmake
@@
-10,7
+10,10
@@
set(CMAKE_SYSTEM_NAME Linux)
# Name of C compiler.
set(CMAKE_SYSTEM_NAME Linux)
# Name of C compiler.
-set(CMAKE_C_COMPILER "${CROSS_PATH}/bin/xtensa-esp32-elf-gcc")
+set(CMAKE_C_COMPILER "${CROSS_PATH}/bin/xtensa-esp32-elf-gcc")
+set(CMAKE_AR "${CROSS_PATH}/bin/xtensa-esp32-elf-ar")
+set(CMAKE_RANLIB "${CROSS_PATH}/bin/xtensa-esp32-elf-ranlib")
+set(CMAKE_LINKER "${CROSS_PATH}/bin/xtensa-esp32-elf-ld")
SET(CMAKE_C_FLAGS "-nostdlib -Wall -Werror \
-I${BUILD_DIR_BASE}/include \
SET(CMAKE_C_FLAGS "-nostdlib -Wall -Werror \
-I${BUILD_DIR_BASE}/include \