mtd/lib patch-Makefile,NONE,1.1

gleixner at infradead.org gleixner at infradead.org
Tue Nov 26 17:24:15 EST 2002


Update of /home/cvs/mtd/lib
In directory phoenix.infradead.org:/tmp/cvs-serv1137

Added Files:
	patch-Makefile 
Log Message:
patch file for kernels with out lib/zlib...

--- NEW FILE patch-Makefile ---
--- linux.org/lib/Makefile	Tue Sep 18 00:31:15 2001
+++ linux.rmk/lib/Makefile	Tue Nov 26 21:28:44 2002
@@ -19,4 +19,15 @@
   obj-y += dec_and_lock.o
 endif
 
+ifeq ($(CONFIG_JFFS2_FS),y)
+CONFIG_ZLIB_INFLATE := y
+CONFIG_ZLIB_DEFLATE := y
+endif
+
+subdir-$(CONFIG_ZLIB_INFLATE) += zlib_inflate
+subdir-$(CONFIG_ZLIB_DEFLATE) += zlib_deflate
+
+# Include the subdirs, if necessary.
+obj-y += $(join $(subdir-y),$(subdir-y:%=/%.o))
+
 include $(TOPDIR)/Rules.make





More information about the linux-mtd-cvs mailing list