2022-05-27 11:57:55 +02:00
|
|
|
[project]
|
2022-02-13 15:01:01 +01:00
|
|
|
name = 'vxkernel'
|
2023-01-18 20:18:08 +01:00
|
|
|
version = 0.7.0
|
2022-08-02 14:59:03 +02:00
|
|
|
type = 'lib'
|
2022-11-27 10:39:06 +01:00
|
|
|
target = [
|
|
|
|
'fxcg50',
|
|
|
|
'sdl2'
|
|
|
|
]
|
2022-02-13 15:01:01 +01:00
|
|
|
|
|
|
|
[build]
|
2022-12-03 16:50:02 +01:00
|
|
|
configure = './vxdev configure'
|
2023-01-14 14:56:10 +01:00
|
|
|
build = './vxdev build'
|
2022-12-03 16:50:02 +01:00
|
|
|
install = './vxdev install'
|
|
|
|
uninstall = './vxdev uninstall'
|
2022-11-27 10:39:06 +01:00
|
|
|
|
2022-12-10 13:30:44 +01:00
|
|
|
[converter]
|
|
|
|
assets_prefix = [
|
|
|
|
'kernel/assets'
|
|
|
|
]
|
2022-11-27 10:39:06 +01:00
|
|
|
|
|
|
|
[fxcg50]
|
2022-12-03 16:50:02 +01:00
|
|
|
[fxcg50.dependencies]
|
2022-11-27 10:39:06 +01:00
|
|
|
sh-elf-vhex = 'master@superh'
|
2022-12-03 16:50:02 +01:00
|
|
|
[fxcg50.env]
|
|
|
|
VXSDK_COMMON_BUILD_CFLAGS = [
|
|
|
|
'-D__SUPPORT_FXCG50__',
|
2022-11-27 10:39:06 +01:00
|
|
|
'-ffreestanding',
|
|
|
|
'-nostdlib',
|
|
|
|
'-fPIE',
|
|
|
|
'-O1',
|
2023-01-15 18:16:48 +01:00
|
|
|
'-mb',
|
|
|
|
'-m4-nofpu',
|
2022-11-27 10:39:06 +01:00
|
|
|
'-fstrict-volatile-bitfields',
|
|
|
|
'-Wa,--dsp'
|
|
|
|
]
|
2022-12-03 16:50:02 +01:00
|
|
|
VXSDK_PUBLIC_BUILD_LIBS = [
|
2022-12-10 13:30:44 +01:00
|
|
|
'@COMMON@',
|
2023-01-14 14:56:10 +01:00
|
|
|
'-Wl,--whole-archive',
|
2022-12-10 13:30:44 +01:00
|
|
|
'-lvxkernel',
|
2023-01-14 14:56:10 +01:00
|
|
|
'-Wl,--no-whole-archive',
|
2023-01-15 18:16:48 +01:00
|
|
|
'@sh-elf-vhex@',
|
|
|
|
'-lc',
|
|
|
|
'-lgcc'
|
2022-11-27 10:39:06 +01:00
|
|
|
]
|
2023-01-15 18:16:48 +01:00
|
|
|
VXSDK_PUBLIC_BUILD_LDFLAGS = [
|
|
|
|
'-T {VXSDK_CURRENT_SOURCE_DIR}/boards/fxcg50/fxcg50.ld',
|
2023-01-17 22:13:43 +01:00
|
|
|
'-static',
|
2023-01-15 18:16:48 +01:00
|
|
|
'-Wl,-q'
|
2023-01-14 14:56:10 +01:00
|
|
|
]
|
2022-12-03 16:50:02 +01:00
|
|
|
|
|
|
|
[sdl2]
|
|
|
|
[sdl2.env]
|
|
|
|
VXSDK_COMMON_BUILD_CFLAGS = [
|
2022-12-10 13:30:44 +01:00
|
|
|
'@COMMON@',
|
2022-12-03 16:50:02 +01:00
|
|
|
'-D__VXKERNEL_SUPPORT_SDL2__',
|
2022-12-10 13:30:44 +01:00
|
|
|
'-g3',
|
|
|
|
]
|
|
|
|
VXSDK_PUBLIC_BUILD_LIBS = [
|
|
|
|
'@COMMON@',
|
|
|
|
'-Wl,--whole-archive',
|
|
|
|
'-lvxkernel',
|
|
|
|
'-Wl,--no-whole-archive',
|
2023-01-14 14:56:10 +01:00
|
|
|
'-lSDL2',
|
|
|
|
'-lm'
|
2022-12-10 13:30:44 +01:00
|
|
|
]
|
2023-01-15 18:16:48 +01:00
|
|
|
VXSDK_PUBLIC_BUILD_LDFLAGS = [
|
|
|
|
'-T {VXSDK_CURRENT_SOURCE_DIR}/boards/sdl2/sdl2.ld',
|
2022-12-03 16:50:02 +01:00
|
|
|
]
|