2018-02-17 00:18:47 +01:00
|
|
|
DEPENDS="tc-gcc2 musl linux_headers tc-pkg-config tc-file"
|
2018-01-24 12:52:41 +01:00
|
|
|
|
2017-12-09 21:51:48 +01:00
|
|
|
build() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
2018-02-19 12:43:22 +01:00
|
|
|
cat > "$CMAKETCFILE" << _EOF
|
|
|
|
set(CMAKE_SYSTEM_NAME Linux)
|
|
|
|
|
|
|
|
set(CMAKE_SYSROOT ${TCDIR}/${TARGET})
|
|
|
|
|
|
|
|
set(CMAKE_C_COMPILER ${TCDIR}/bin/${TARGET}-gcc)
|
|
|
|
set(CMAKE_C_COMPILER_TARGET ${TARGET})
|
|
|
|
|
|
|
|
set(CMAKE_CXX_COMPILER ${TCDIR}/bin/${TARGET}-g++)
|
|
|
|
set(CMAKE_CXX_COMPILER_TARGET ${TARGET})
|
|
|
|
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
|
|
|
|
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
|
|
|
_EOF
|
2018-02-15 23:47:54 +01:00
|
|
|
save_toolchain
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
return
|
|
|
|
}
|