Skip to contentSkip to conversation

mtdpart.c not compiled with mtdcore.c ?

PATCH Vipin Malik 1 participant 1 message Feb 14, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

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

02/14 20:24:11 renamed from 01/05 23:26:26 1.43 +1 -1
diff -u -r1.43 Makefile
@@ -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 [email protected]