fxlibc/vxsdk.toml
2023-04-01 20:30:30 +02:00

26 lines
552 B
TOML

[project]
name = 'fxlibc'
type = 'app'
target = [
'superh'
]
[superh.build]
configure = """ \
cmake \
-B build-vhex \
-DFXLIBC_PIC=1 \
-DFXLIBC_TARGET=vhex-sh \
-DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-vhex.cmake
"""
build = 'cmake --build build-vhex'
install = 'cmake --install build-vhex'
uninstall = """ \
if [ -e build-vhex/install_manifest.txt ]; then \
xargs rm -f < build-vhex/install_manifest.txt; \
fi \
"""
[superh.dependencies]
vxOpenLibm = 'master@superh'
sh-elf-vhex = 'master@superh'