diff options
| author | Alex Bennée | 2019-05-13 16:25:27 +0200 |
|---|---|---|
| committer | Alex Bennée | 2019-05-28 11:28:50 +0200 |
| commit | 16932bb761e52c2ca9397b57af5bdc5bdc5ae6a4 (patch) | |
| tree | 07cb4fc3156715ca54cf17e7b24777bf8cfbc802 /hw | |
| parent | semihosting: move semihosting configuration into its own directory (diff) | |
| download | qemu-16932bb761e52c2ca9397b57af5bdc5bdc5ae6a4.tar.gz qemu-16932bb761e52c2ca9397b57af5bdc5bdc5ae6a4.tar.xz qemu-16932bb761e52c2ca9397b57af5bdc5bdc5ae6a4.zip | |
semihosting: introduce CONFIG_SEMIHOSTING
There isn't much point building semihosting for platforms that don't
support it. Introduce a new symbol and enable it only for the softmmu
targets that need it.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw')
| -rw-r--r-- | hw/Kconfig | 1 | ||||
| -rw-r--r-- | hw/semihosting/Kconfig | 3 | ||||
| -rw-r--r-- | hw/semihosting/Makefile.objs | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/hw/Kconfig b/hw/Kconfig index 88b9f15007..195f541e50 100644 --- a/hw/Kconfig +++ b/hw/Kconfig @@ -29,6 +29,7 @@ source pci/Kconfig source rdma/Kconfig source scsi/Kconfig source sd/Kconfig +source semihosting/Kconfig source smbios/Kconfig source ssi/Kconfig source timer/Kconfig diff --git a/hw/semihosting/Kconfig b/hw/semihosting/Kconfig new file mode 100644 index 0000000000..efe0a30734 --- /dev/null +++ b/hw/semihosting/Kconfig @@ -0,0 +1,3 @@ + +config SEMIHOSTING + bool diff --git a/hw/semihosting/Makefile.objs b/hw/semihosting/Makefile.objs index 546954f4ff..09c19bf19e 100644 --- a/hw/semihosting/Makefile.objs +++ b/hw/semihosting/Makefile.objs @@ -1 +1 @@ -common-obj-$(CONFIG_SOFTMMU) += config.o +obj-$(CONFIG_SEMIHOSTING) += config.o |
