target/mips: only build mips-semi for softmmu
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 14 May 2019 12:50:45 +0000 (13:50 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 28 May 2019 09:28:51 +0000 (10:28 +0100)
commit82ba42666c5bb00438e96f4ec9c8a9206e1b02dd
tree15835e21e636c2d0402a02878cd6adb48eca77c0
parent629a0b065af074a43176968e1e242b87fc3be39f
target/mips: only build mips-semi for softmmu

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>
target/mips/Makefile.objs
target/mips/helper.h
target/mips/translate.c