linux/drivers/md/dm-vdo/Makefile
Mike Snitzer f36b1d3ba5 dm vdo: use a proper Makefile for dm-vdo
Requires moving dm-vdo-target.c into drivers/md/dm-vdo/

This change adds a proper drivers/md/dm-vdo/Makefile and eliminates
the abnormal use of patsubst in drivers/md/Makefile -- which was the
cause of at least one build failure that was reported by the upstream
build bot.

Also, split out VDO's drivers/md/dm-vdo/Kconfig and include it from
drivers/md/Kconfig

Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
2024-02-20 13:43:17 -05:00

62 lines
1003 B
Makefile

# SPDX-License-Identifier: GPL-2.0-only
obj-$(CONFIG_DM_VDO) += dm-vdo.o
dm-vdo-objs := \
action-manager.o \
admin-state.o \
block-map.o \
chapter-index.o \
completion.o \
config.o \
constants.o \
data-vio.o \
dedupe.o \
delta-index.o \
dm-vdo-target.o \
dump.o \
encodings.o \
errors.o \
flush.o \
funnel-queue.o \
funnel-requestqueue.o \
funnel-workqueue.o \
geometry.o \
index-layout.o \
index.o \
index-page-map.o \
index-session.o \
int-map.o \
io-factory.o \
io-submitter.o \
logger.o \
logical-zone.o \
memory-alloc.o \
message-stats.o \
murmurhash3.o \
open-chapter.o \
packer.o \
permassert.o \
physical-zone.o \
pool-sysfs.o \
pool-sysfs-stats.o \
priority-table.o \
radix-sort.o \
recovery-journal.o \
repair.o \
slab-depot.o \
sparse-cache.o \
status-codes.o \
string-utils.o \
sysfs.o \
thread-cond-var.o \
thread-device.o \
thread-registry.o \
uds-sysfs.o \
uds-threads.o \
vdo.o \
vio.o \
volume-index.o \
volume.o \
wait-queue.o