
Since the SEMIHOSTING feature is optional, we need a stub to link when it is disabled. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20240717105723.58965-4-philmd@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20240718094523.1198645-11-alex.bennee@linaro.org>
13 lines
291 B
Meson
13 lines
291 B
Meson
mips_system_ss.add(files(
|
|
'cp0_helper.c',
|
|
'special_helper.c',
|
|
'tlb_helper.c',
|
|
))
|
|
mips_system_ss.add(when: ['CONFIG_SEMIHOSTING'],
|
|
if_true: files('mips-semi.c'),
|
|
if_false: files('semihosting-stub.c')
|
|
)
|
|
mips_system_ss.add(when: 'TARGET_MIPS64', if_true: files(
|
|
'lcsr_helper.c',
|
|
))
|