Index: wctc4xxp/Makefile =================================================================== --- wctc4xxp/Makefile (revision 3803) +++ wctc4xxp/Makefile (working copy) @@ -1,3 +1,5 @@ +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. @@ -3,4 +5,6 @@ include $(src)/Kbuild +else + tests: codec_test @@ -10,3 +14,5 @@ clean: rm -rf codec_test + +endif