2019-04-21 20:56:34 +02:00
|
|
|
DEPENDS="tc-binutils crt-dev libstdc++-dev tc-file tc-pkgtool basefiles"
|
2019-06-08 18:04:39 +02:00
|
|
|
DEPENDS="$DEPENDS tc-squashfs"
|
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
|
2019-02-08 00:24:54 +01:00
|
|
|
|
2019-03-06 10:03:12 +01:00
|
|
|
touch "$PKGDEPLOYDIR/$PKGNAME.files"
|
|
|
|
cat > "$PKGDEPLOYDIR/$PKGNAME.desc" <<_EOF
|
2019-02-27 14:22:03 +01:00
|
|
|
requires $DEPENDS
|
2019-02-08 00:24:54 +01:00
|
|
|
_EOF
|
2017-12-09 21:51:48 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
return
|
|
|
|
}
|