The is_uhi gates all semihosting calls and always returns false for CONFIG_USER_ONLY builds. There is no reason to build and link mips-semi for these builds so lets fix that. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
6 lines
217 B
Makefile
6 lines
217 B
Makefile
obj-y += translate.o dsp_helper.o op_helper.o lmi_helper.o helper.o cpu.o
|
|
obj-y += gdbstub.o msa_helper.o
|
|
obj-$(CONFIG_SOFTMMU) += mips-semi.o
|
|
obj-$(CONFIG_SOFTMMU) += machine.o cp0_timer.o
|
|
obj-$(CONFIG_KVM) += kvm.o
|