summaryrefslogtreecommitdiff
path: root/xpp
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-18 10:21:15 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-18 10:21:15 +0000
commit612edd9a40844d1af48d8b1ccbb66464e73def65 (patch)
treed44498704bc549dea8c9fa3c30bc75b2bd09853e /xpp
parent4cf6b8698e30480f42bdda6cbc06028399a2d387 (diff)
Support building the kernel with M= instead of with SUBDIRS= , as used
in some newer build systems. From xpp r4677. Merged revisions 3055 via svnmerge from http://svn.digium.com/svn/zaptel/branches/1.2 git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3056 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp')
-rw-r--r--xpp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/xpp/Makefile b/xpp/Makefile
index ef0a162..9e92fd5 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -1,4 +1,8 @@
-ZAPTEL_DIR = $(SUBDIRS)
+ifdef SUBDIRS
+ ZAPTEL_DIR = $(SUBDIRS)
+else
+ ZAPTEL_DIRS = $(M)
+endif
EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \
-I$(ZAPTEL_DIR) \