mtd/drivers/mtd/devices Makefile,1.5,1.6
gleixner at infradead.org
gleixner at infradead.org
Wed Nov 27 05:28:17 EST 2002
Update of /home/cvs/mtd/drivers/mtd/devices
In directory phoenix.infradead.org:/tmp/cvs-serv19178
Modified Files:
Makefile
Log Message:
2.2/2.4/2.5 aware Makefile
Index: Makefile
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/devices/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- Makefile 13 Sep 2002 13:46:55 -0000 1.5
+++ Makefile 27 Nov 2002 10:28:14 -0000 1.6
@@ -3,7 +3,11 @@
#
# $Id$
+BELOW25 := $(shell echo $(PATCHLEVEL) | sed s/[1234]/y/)
+
+ifeq ($(BELOW25),y)
O_TARGET := devlink.o
+endif
# *** BIG UGLY NOTE ***
#
More information about the linux-mtd-cvs
mailing list