hw/rdma: Compile target-independent parts of the rdma code only once
PATCH 1/1 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 safe some time during the build.
Signed-off-by Thomas Huth <[email protected]>
--- hw/rdma/meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
hw/rdma/meson.build +5 -3
@@ -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', ))
Signature · 1 line
2.31.1
Quoted 2 lines · Thomas Huth
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.
s/safe/save/
Quoted 5 lines
Signed-off-by Thomas Huth <[email protected]>--- hw/rdma/meson.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by Philippe Mathieu-Daudé <[email protected]>