patch-2.4.0-test4 linux/drivers/mtd/Makefile

Next file: linux/drivers/mtd/cfi_cmdset_0001.c
Previous file: linux/drivers/mtd/Config.in
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test3/linux/drivers/mtd/Makefile linux/drivers/mtd/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.20 2000/07/04 08:58:10 dwmw2 Exp $
+# $Id: Makefile,v 1.21 2000/07/13 10:42:55 dwmw2 Exp $
 
 # Uncomment this to enable the DBG macro (see mtd.h)
 #CFLAGS+= -DZDBG
@@ -68,6 +68,14 @@
   endif
 endif
 
+ifeq ($(CONFIG_MTD_CFI_AMDSTD),y)
+  OX_OBJS += cfi_cmdset_0002.o
+else
+  ifeq ($(CONFIG_MTD_CFI_AMDSTD),m)
+    MX_OBJS += cfi_cmdset_0002.o
+  endif
+endif
+
 ifeq ($(CONFIG_MTD_DOC1000),y)
   O_OBJS += doc1000.o
 else
@@ -149,6 +157,14 @@
 else
   ifeq ($(CONFIG_MTD_MTDRAM),m)
     M_OBJS += mtdram.o
+  endif
+endif
+
+ifeq ($(CONFIG_MTD_PNC2000),y)
+  O_OBJS += pnc2000.o
+else
+  ifeq ($(CONFIG_MTD_PNC2000),m)
+    M_OBJS += pnc2000.o
   endif
 endif
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)