diff options
Diffstat (limited to 'kernel/wcte12xp/Makefile')
-rw-r--r-- | kernel/wcte12xp/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/kernel/wcte12xp/Makefile b/kernel/wcte12xp/Makefile new file mode 100644 index 0000000..fb0fbc5 --- /dev/null +++ b/kernel/wcte12xp/Makefile @@ -0,0 +1,25 @@ +ifneq ($(KBUILD_EXTMOD),) +# We only get here on kernels 2.6.0-2.6.9 . +# For newer kernels, Kbuild will be included directly by the kernel +# build system. +include $(src)/Kbuild + +else + +# building for 2.4 kernels means no VPM support, so none of the VPM support +# modules are included in the Makefile rules + +all: wcte12xp.o + +%.o: %.c + $(CC) $(KFLAGS) -o $@ -c $< + +base.o: ../zaptel.h + +wcte12xp.o: base.o + $(LD) -r -o $@ $^ + +clean: + rm -f *.o + +endif |