mtd/drivers/mtd/chips Makefile,1.8,1.9
gleixner at infradead.org
gleixner at infradead.org
Wed Nov 27 05:28:54 EST 2002
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv19199
Modified Files:
Makefile
Log Message:
2.2/2.4/2.5 aware Makefile
Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile 10 Jan 2002 20:27:40 -0000 1.8
+++ Makefile 27 Nov 2002 10:28:51 -0000 1.9
@@ -3,7 +3,11 @@
#
# $Id$
+BELOW25 := $(shell echo $(PATCHLEVEL) | sed s/[1234]/y/)
+
+ifeq ($(BELOW25),y)
O_TARGET := chipslink.o
+endif
export-objs := chipreg.o gen_probe.o
More information about the linux-mtd-cvs
mailing list