1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

o Enable building dm modules (called dm-mod)

o split the patches into config and makefile specific.
This commit is contained in:
AJ Lewis 2001-08-28 14:11:55 +00:00
parent ff8cfdb092
commit 2e95662387
3 changed files with 28 additions and 11 deletions

View File

@ -18,13 +18,4 @@
+dep_tristate ' Device mapper support' CONFIG_BLK_DEV_DM $CONFIG_MD
+
endmenu
--- linux/drivers/md/Makefile.orig Tue Aug 21 14:19:14 2001
+++ linux/drivers/md/Makefile Tue Aug 21 14:20:06 2001
@@ -19,6 +19,7 @@
obj-$(CONFIG_MD_RAID5) += raid5.o xor.o
obj-$(CONFIG_BLK_DEV_MD) += md.o
obj-$(CONFIG_BLK_DEV_LVM) += lvm-mod.o
+obj-$(CONFIG_BLK_DEV_DM) += dm.o dm-table.o dm-target.o dm-fs.o
include $(TOPDIR)/Rules.make

View File

@ -0,0 +1,23 @@
--- linux-2.4.9/drivers/md/Makefile Tue Aug 28 08:55:08 2001
+++ linux-2.4.9-lvm2/drivers/md/Makefile Tue Aug 28 08:55:22 2001
@@ -7,6 +7,7 @@
export-objs := md.o xor.o
list-multi := lvm-mod.o
lvm-mod-objs := lvm.o lvm-snap.o
+dm-mod-objs := dm.o dm-table.o dm-target.o dm-fs.o
# Note: link order is important. All raid personalities
# and xor.o must come before md.o, as they each initialise
@@ -19,9 +20,12 @@
obj-$(CONFIG_MD_RAID5) += raid5.o xor.o
obj-$(CONFIG_BLK_DEV_MD) += md.o
obj-$(CONFIG_BLK_DEV_LVM) += lvm-mod.o
+obj-$(CONFIG_BLK_DEV_DM) += dm-mod.o
include $(TOPDIR)/Rules.make
lvm-mod.o: $(lvm-mod-objs)
$(LD) -r -o $@ $(lvm-mod-objs)
+dm-mod.o: $(dm-mod-objs)
+ $(LD) -r -o $@ $(dm-mod-objs)

View File

@ -1,6 +1,9 @@
00_latest Latest source.
00_config_makefile Add device-mapper to the MD section.
00_config Add device-mapper to the MD section, and turn it on
for uml.
00_makefile Add device-mapper to the MD Makefile.
00_bh-async-3 AA's async bh patch so we can hook b_end_io
to keep track of pending io.