* [PATCH] hw/rdma: Compile target-independent parts of the rdma code only once
@ 2023-04-19 11:49 Thomas Huth
2023-04-20 13:54 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Huth @ 2023-04-19 11:49 UTC (permalink / raw)
To: qemu-devel, Marcel Apfelbaum, Yuval Shaia; +Cc: qemu-trivial
Some files of the rdma code do not depend on any target specific
macros. Compile these only once to safe some time during the build.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
hw/rdma/meson.build | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/hw/rdma/meson.build b/hw/rdma/meson.build
index 7325f40c32..fc7917192f 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',
))
--
2.31.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-20 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-19 11:49 [PATCH] hw/rdma: Compile target-independent parts of the rdma code only once Thomas Huth
2023-04-20 13:54 ` Philippe Mathieu-Daudé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).