mtd/drivers/mtd/maps Makefile,1.34,1.35
gleixner at infradead.org
gleixner at infradead.org
Wed Nov 27 05:27:44 EST 2002
Update of /home/cvs/mtd/drivers/mtd/maps
In directory phoenix.infradead.org:/tmp/cvs-serv19156
Modified Files:
Makefile
Log Message:
2.2/2.4/2.5 aware Makefile
Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/maps/Makefile,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- Makefile 18 Oct 2002 22:45:48 -0000 1.34
+++ Makefile 27 Nov 2002 10:27:41 -0000 1.35
@@ -3,7 +3,11 @@
#
# $Id$
+BELOW25 := $(shell echo $(PATCHLEVEL) | sed s/[1234]/y/)
+
+ifeq ($(BELOW25),y)
O_TARGET := mapslink.o
+endif
# Chip mappings
obj-$(CONFIG_MTD_CDB89712) += cdb89712.o
More information about the linux-mtd-cvs
mailing list