From 42657eba93873f617ecf33755daab8d09eb18e12 Mon Sep 17 00:00:00 2001 From: qwell Date: Tue, 5 Feb 2008 22:17:29 +0000 Subject: Fix a build issue pointed out by Dovid on #asterisk git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3804 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wctc4xxp/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/wctc4xxp/Makefile b/wctc4xxp/Makefile index 8236e46..d7244f8 100644 --- a/wctc4xxp/Makefile +++ b/wctc4xxp/Makefile @@ -1,8 +1,12 @@ +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 + tests: codec_test codec_test: codec_test.c ../zaptel.h @@ -10,3 +14,5 @@ codec_test: codec_test.c ../zaptel.h clean: rm -rf codec_test + +endif -- cgit v1.2.3