Another example of DSO build but with multiple files in a module. Signed-off-by: Fam Zheng <f...@redhat.com> --- block/Makefile.objs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/block/Makefile.objs b/block/Makefile.objs index b1e1520..4cb2ab9 100644 --- a/block/Makefile.objs +++ b/block/Makefile.objs @@ -1,7 +1,6 @@ block-obj-y += raw.o cow.o qcow.o vdi.o vmdk.o cloop.o dmg.o bochs.o vpc.o vvfat.o block-obj-y += qcow2.o qcow2-refcount.o qcow2-cluster.o qcow2-snapshot.o qcow2-cache.o -block-obj-y += qed.o qed-gencb.o qed-l2-cache.o qed-table.o qed-cluster.o -block-obj-y += qed-check.o +block-obj-m += qed.mo block-obj-y += vhdx.o block-obj-y += parallels.o blkdebug.o blkverify.o block-obj-y += snapshot.o qapi.o @@ -25,3 +24,4 @@ common-obj-y += backup.o $(obj)/curl.o-cflags := $(CURL_CFLAGS) $(obj)/curl.o-libs := $(CURL_LIBS) +$(obj)/qed.mo-obj := $(addprefix $(obj)/,qed.o qed-gencb.o qed-l2-cache.o qed-table.o qed-cluster.o qed-check.o) -- 1.8.3.1