diff options
author | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-08-15 13:36:10 +0000 |
---|---|---|
committer | tzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-08-15 13:36:10 +0000 |
commit | b9a5ae3beb08f7084896dac21b7b6d0a30203fba (patch) | |
tree | f5af3650ba775059aee899c85d5e757239a7bdc8 /Makefile.kernel26 | |
parent | f7be83785bb52d8fa95e892e1878dd9bb046d319 (diff) |
* Allow setting the echo canceller from the Makefile or the environment
(needed for overriding the default EC in Debian m-a builds)
* Allow specifiying extra modules in the make command line:
MODULES_EXTRA.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2838 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile.kernel26')
-rw-r--r-- | Makefile.kernel26 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.kernel26 b/Makefile.kernel26 index b42ed06..b019a48 100644 --- a/Makefile.kernel26 +++ b/Makefile.kernel26 @@ -13,7 +13,13 @@ obj-m+=xpp/ endif endif +ifndef ECHO_CAN_NAME + ECHO_CAN_NAME := MG2 +endif +ECHO_CAN_CFLAGS := -DECHO_CAN_FROMENV -DECHO_CAN_$(ECHO_CAN_NAME) + EXTRA_CFLAGS := -I$(src) +EXTRA_CFLAGS += $(ECHO_CAN_CFLAGS) # fix typo present in CentOS and RHEL 2.6.9 kernels BAD_KERNELS_VERS := 22 34 34.0.1 34.0.2 |