diff options
author | Thomas Huth <thuth@redhat.com> | 2023-04-19 13:49:37 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-04-28 08:05:37 +0200 |
commit | c02578b1fa0345d3da7dcdacf30ea2c246336257 (patch) | |
tree | c671fb920c4d89b61f6ad4f6f3886616a0ea60b7 /hw | |
parent | c4c289cc5f6109a8c131943a7554679ffb42c03f (diff) | |
download | qemu-c02578b1fa0345d3da7dcdacf30ea2c246336257.zip qemu-c02578b1fa0345d3da7dcdacf30ea2c246336257.tar.gz qemu-c02578b1fa0345d3da7dcdacf30ea2c246336257.tar.bz2 |
hw/rdma: Compile target-independent parts of the rdma code only once
Some files of the rdma code do not depend on any target specific
macros. Compile these only once to save some time during the build.
Message-Id: <20230419114937.667221-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/rdma/meson.build | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hw/rdma/meson.build b/hw/rdma/meson.build index 7325f40..fc79171 100644 --- a/hw/rdma/meson.build +++ b/hw/rdma/meson.build @@ -1,10 +1,12 @@ -specific_ss.add(when: 'CONFIG_VMW_PVRDMA', if_true: files( +softmmu_ss.add(when: 'CONFIG_VMW_PVRDMA', if_true: files( 'rdma.c', 'rdma_backend.c', - 'rdma_rm.c', 'rdma_utils.c', + 'vmw/pvrdma_qp_ops.c', +)) +specific_ss.add(when: 'CONFIG_VMW_PVRDMA', if_true: files( + 'rdma_rm.c', 'vmw/pvrdma_cmd.c', 'vmw/pvrdma_dev_ring.c', 'vmw/pvrdma_main.c', - 'vmw/pvrdma_qp_ops.c', )) |