mtdpart.c not compiled with mtdcore.c ?
Vipin Malik
vmalik at danielind.com
Wed Feb 14 15:54:19 EST 2001
Any reason that mtdpart.c is not compiled by default with mtdcore.c when
CONFIG_MTD is "y" ?
The problem is that if one hacks physmap.c to add partitions for one's
own hardware then add_mtd_partitions() are unresolved till one
manually modifies the Makefile.
Can we enable mtdpart.o by default in cases?
Vipin
Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/kernel/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile 2001/01/05 23:26:26 1.43
+++ Makefile 2001/02/14 20:24:11
@@ -74,7 +74,7 @@
endif
# MTD devices
-obj-$(CONFIG_MTD) += mtdcore.o
+obj-$(CONFIG_MTD) += mtdcore.o mtdpart.o
obj-$(CONFIG_MTD_DOC1000) += doc1000.o
obj-$(CONFIG_MTD_DOC2000) += doc2000.o
obj-$(CONFIG_MTD_DOC2001) += doc2001.o
To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org
More information about the linux-mtd
mailing list