2022-05-14 11:49:08 +02:00
|
|
|
[project]
|
2022-01-26 16:34:16 +01:00
|
|
|
name = 'fxlibc'
|
|
|
|
type = 'app'
|
2023-01-08 13:11:13 +01:00
|
|
|
target = [
|
|
|
|
'superh'
|
|
|
|
]
|
2022-01-26 16:34:16 +01:00
|
|
|
|
2023-01-08 13:11:13 +01:00
|
|
|
[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'
|
2022-01-26 16:34:16 +01:00
|
|
|
uninstall = """ \
|
|
|
|
if [ -e build-vhex/install_manifest.txt ]; then \
|
|
|
|
xargs rm -f < build-vhex/install_manifest.txt; \
|
|
|
|
fi \
|
|
|
|
"""
|
2023-01-08 13:11:13 +01:00
|
|
|
|
|
|
|
[superh.dependencies]
|
|
|
|
vxOpenLibm = 'master@superh'
|
|
|
|
sh-elf-vhex = 'master@superh'
|