patch-2.4.0-prerelease linux/drivers/char/ftape/zftape/Makefile

Next file: linux/drivers/char/generic_serial.c
Previous file: linux/drivers/char/ftape/lowlevel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/drivers/char/ftape/zftape/Makefile linux/drivers/char/ftape/zftape/Makefile
@@ -23,18 +23,6 @@
 #      ftape
 #
 
-#
-#  This isn't used inside the kernel, only for my private development
-#  version
-#
-ifndef TOPDIR
-TOPDIR=../..
-include $(TOPDIR)/MCONFIG
-endif
-
-SUB_DIRS     := 
-MOD_SUB_DIRS := $(SUB_DIRS)
-ALL_SUB_DIRS := $(SUB_DIRS)
 
 # ZFT_OBSOLETE - enable the MTIOC_ZFTAPE_GETBLKSZ ioctl. You should
 #                leave this enabled for compatibility with taper.
@@ -42,13 +30,14 @@
 EXTRA_CFLAGS := -DZFT_OBSOLETE
 
 O_TARGET := zftape.o
-O_OBJS   := zftape-rw.o zftape-ctl.o zftape-read.o \
-	    zftape-write.o zftape-vtbl.o zftape-eof.o \
-	    zftape-init.o zftape-buffers.o
 
-OX_OBJS  += zftape_syms.o
+export-objs := zftape_syms.o
+
+obj-y    := zftape-rw.o zftape-ctl.o zftape-read.o \
+	    zftape-write.o zftape-vtbl.o zftape-eof.o \
+	    zftape-init.o zftape-buffers.o zftape_syms.o
 
-M_OBJS   := $(O_TARGET)
+obj-m    := $(O_TARGET)
 
 include $(TOPDIR)/Rules.make
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)