summaryrefslogtreecommitdiffstats
path: root/fs/autofs
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-01-10 17:17:53 +0000
commitb2ad5f821b1381492d792ca10b1eb7a107b48f14 (patch)
tree954a648692e7da983db1d2470953705f6a729264 /fs/autofs
parentc9c06167e7933d93a6e396174c68abf242294abb (diff)
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'fs/autofs')
-rw-r--r--fs/autofs/Makefile27
1 files changed, 2 insertions, 25 deletions
diff --git a/fs/autofs/Makefile b/fs/autofs/Makefile
index 1681c3d31..5c8dbcfe3 100644
--- a/fs/autofs/Makefile
+++ b/fs/autofs/Makefile
@@ -5,31 +5,8 @@
#
O_TARGET := autofs.o
-O_OBJS := dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
-M_OBJS := $(O_TARGET)
+obj-y := dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
+obj-m := $(O_TARGET)
-ifdef TOPDIR
-#
-# Part of the kernel code
-#
include $(TOPDIR)/Rules.make
-else
-#
-# Standalone (handy for development)
-#
-include ../Makefile.rules
-
-CFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I../include -I$(KINCLUDE) $(MODFLAGS)
-
-all: $(O_TARGET)
-
-$(O_TARGET): $(O_OBJS)
- $(LD) -r -o $(O_TARGET) $(O_OBJS)
-
-install: $(O_TARGET)
- install -c $(O_TARGET) /lib/modules/`uname -r`/fs
-
-clean:
- rm -f *.o *.s
-endif