40 lines
700 B
TOML
40 lines
700 B
TOML
[project]
|
|
name = 'vxkernel'
|
|
type = 'lib'
|
|
target = [
|
|
'fxcg50',
|
|
'sdl2'
|
|
]
|
|
|
|
[build]
|
|
configure = './vxdev configure'
|
|
build = './vxdev build --verbose'
|
|
install = './vxdev install'
|
|
uninstall = './vxdev uninstall'
|
|
|
|
|
|
[fxcg50]
|
|
[fxcg50.dependencies]
|
|
sh-elf-vhex = 'master@superh'
|
|
[fxcg50.env]
|
|
VXSDK_COMMON_BUILD_CFLAGS = [
|
|
'-D__SUPPORT_FXCG50__',
|
|
'-ffreestanding',
|
|
'-nostdlib',
|
|
'-fPIE',
|
|
'-O1',
|
|
'-fstrict-volatile-bitfields',
|
|
'-Wa,--dsp'
|
|
]
|
|
VXSDK_PUBLIC_BUILD_LIBS = [
|
|
'-lc',
|
|
'-lgcc'
|
|
]
|
|
|
|
[sdl2]
|
|
[sdl2.env]
|
|
VXSDK_COMMON_BUILD_CFLAGS = [
|
|
'-D__VXKERNEL_SUPPORT_SDL2__',
|
|
'-g3'
|
|
]
|