diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2019-04-25 17:00:48 -0300 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-11-01 19:44:00 +0100 |
commit | b19a3e2cd9c749f1925f1557a6409d1eefbd9b9c (patch) | |
tree | c11b16fa9da06fdedbfaa91302cdaad506bca297 /hw/core/meson.build | |
parent | af531756d25541a1b3b3d9a14e72e7fedd941a2e (diff) |
machine: Move gpio code to hw/core/gpio.c
Only softmmu code uses gpio, so move gpio code from qdev.c to
gpio.c and compile it only on softmmu mode.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190425200051.19906-2-ehabkost@redhat.com>
[PMD: Rebased]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/core/meson.build')
-rw-r--r-- | hw/core/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/core/meson.build b/hw/core/meson.build index 18f44fb7c2..86f26f0a60 100644 --- a/hw/core/meson.build +++ b/hw/core/meson.build @@ -27,6 +27,7 @@ common_ss.add(when: 'CONFIG_XILINX_AXI', if_true: files('stream.c')) softmmu_ss.add(files( 'cpu-sysemu.c', 'fw-path-provider.c', + 'gpio.c', 'loader.c', 'machine-hmp-cmds.c', 'machine.c', |