1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-14 07:27:10 +01:00
build/pkg/toolchain/build
David Oberhollenzer b1bdce20a9 Add automatic update chacking script
Crunch project websites and try to find the latest version for each
package without having to do the work manually.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00

29 lines
No EOL
599 B
Text
Executable file

DEPENDS="tc-gcc2 musl linux_headers tc-pkg-config tc-file"
build() {
return
}
deploy() {
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
save_toolchain
}
check_update() {
return
}