mtd/drivers/mtd/nand Makefile,1.8,1.9
gleixner at infradead.org
gleixner at infradead.org
Wed Nov 27 05:27:08 EST 2002
Update of /home/cvs/mtd/drivers/mtd/nand
In directory phoenix.infradead.org:/tmp/cvs-serv19026
Modified Files:
Makefile
Log Message:
2.2/2.4/2.5 aware Makefile
Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nand/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile 25 Nov 2002 20:56:23 -0000 1.8
+++ Makefile 27 Nov 2002 10:27:05 -0000 1.9
@@ -3,9 +3,13 @@
#
# $Id$
-O_TARGET := nandlink.o
+BELOW25 := $(shell echo $(PATCHLEVEL) | sed s/[1234]/y/)
-export-objs := nand.o nand_ecc.o
+ifeq ($(BELOW25),y)
+O_TARGET := nandlink.o
+endif
+
+export-objs := nand.o nand_ecc.o
nandobjs-y := nand.o nand_ecc.o
More information about the linux-mtd-cvs
mailing list