aboutsummaryrefslogtreecommitdiff
path: root/kernel/Makefile.in
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2006-09-30 07:39:33 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2006-09-30 07:39:33 +0000
commit6cf952ab0441b1ec67b359e3dc03d52cf62a99dd (patch)
tree86ddbec5a7ff3571bdeb7f7f511175ec23284f6b /kernel/Makefile.in
parent40ec17587bfee44180bc6b656545ead51a1a2037 (diff)
Drop support for kernels earlier than 2.6.9
Diffstat (limited to 'kernel/Makefile.in')
-rw-r--r--kernel/Makefile.in35
1 files changed, 0 insertions, 35 deletions
diff --git a/kernel/Makefile.in b/kernel/Makefile.in
index a8361ac..c016d1a 100644
--- a/kernel/Makefile.in
+++ b/kernel/Makefile.in
@@ -3,7 +3,6 @@
SHELL = /bin/sh
INSTALL = @INSTALL@
mkdir_p = mkdir -p
-majver = @majver@
VERSION = @PACKAGE_VERSION@
DISTFILES = Makefile.in configure.ac configure config.h.in ../install-sh \
@@ -12,11 +11,7 @@ COMPATDISTFILES = compat/parser.c compat/parser.h
fusemoduledir = @kmoduledir@/kernel/fs/fuse
-ifeq ($(majver), 2.4)
-fusemodule := fuse.o
-else
fusemodule := fuse.ko
-endif
all: all-@ENABLE_FUSE_MODULE@
install: install-@ENABLE_FUSE_MODULE@
@@ -52,35 +47,6 @@ distdir: $(DISTFILES) $(COMPATDISTFILES)
mkdir $(distdir)/compat
cp -p $(COMPATDISTFILES) $(distdir)/compat
-ifeq ($(majver), 2.4)
-
-CC = gcc
-LD = ld
-CFLAGS = -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe @KERNELCFLAGS@
-CPPFLAGS = -I@kernelsrc@/include -I. -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DFUSE_VERSION=\"$(VERSION)\" @KERNELCPPFLAGS@
-
-fuse_objs = dev.o dir.o file.o inode.o compat/parser.o control.o
-
-SUFFIXES = .c .o .s
-
-all-spec: fuse.o
-
-.c.o:
- $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
-
-fuse.o: $(fuse_objs)
- $(LD) -r -o fuse.o $(fuse_objs)
-
-fuse_headers = fuse_i.h fuse_kernel.h
-
-dev.o: $(fuse_headers)
-dir.o: $(fuse_headers)
-file.o: $(fuse_headers)
-inode.o: $(fuse_headers)
-control.o: $(fuse_headers)
-
-else
-
EXTRA_CFLAGS += -DFUSE_VERSION=\"$(VERSION)\"
obj-m := fuse.o
@@ -88,4 +54,3 @@ fuse-objs := dev.o dir.o file.o inode.o control.o
all-spec:
$(MAKE) -C @kernelsrc@ SUBDIRS=$(PWD) @KERNELMAKE_PARAMS@ modules
-endif