summaryrefslogtreecommitdiff
path: root/wctdm24xxp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wctdm24xxp/Makefile')
-rw-r--r--wctdm24xxp/Makefile26
1 files changed, 4 insertions, 22 deletions
diff --git a/wctdm24xxp/Makefile b/wctdm24xxp/Makefile
index 9927928..442555a 100644
--- a/wctdm24xxp/Makefile
+++ b/wctdm24xxp/Makefile
@@ -1,22 +1,4 @@
-ifneq ($(KBUILD_EXTMOD),)
-
-include $(src)/Makefile.kernel26
-
-else
-
-all: wctdm24xxp.o
-
-%.o: %.c
- $(CC) $(KFLAGS) -o $@ -c $<
-
-base.o: ../zaptel.h GpakCust.h ../wctdm.h
-
-GpakCust.o: GpakCust.h
-
-wctdm24xxp.o: base.o GpakCust.o GpakApi.o
- $(LD) -r -o $@ $^
-
-clean:
- rm -f *.o
-
-endif
+# We only get here on kernels 2.6.0-2.6.8 .
+# For newer kernels, Kbuild will be included directly by the kernel
+# build system.
+-include $(src)/Kbuild