Skip to contentSkip to conversation

block: Refactor subdirectory recursion during make

PATCH Applied Eric Blake 2 participants 2 messages Jun 8, 2020

Subsystems (2)
lore
Share & tools
lore

Eric Blake

author
#0 lore raw

PATCH 1/1 block: Refactor subdirectory recursion during make

Rather than listing block/monitor from the top-level Makefile.objs, we should instead list monitor from block/Makefile.objs.

Fixes bb4e58c613
---
 Makefile.objs       | 2 +-
 block/Makefile.objs | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
Makefile.objs +1 -1
index 99774cfd2545..0c08eb863a14 100644
@@ -13,7 +13,7 @@ chardev-obj-y = chardev/
 
 authz-obj-y = authz/
 
-block-obj-y = block/ block/monitor/ nbd/ scsi/
+block-obj-y = block/ nbd/ scsi/
 block-obj-y += block.o blockjob.o job.o
 block-obj-y += qemu-io-cmds.o
 block-obj-$(CONFIG_REPLICATION) += replication.o
block/Makefile.objs +1 -0
index 87357529f339..5947da08575f 100644
@@ -47,6 +47,7 @@ block-obj-y += aio_task.o
 block-obj-y += backup-top.o
 block-obj-y += filter-compress.o
 common-obj-y += monitor/
+block-obj-y += monitor/
 
 block-obj-y += stream.o
 
Signature · 1 line
2.27.0