summaryrefslogtreecommitdiff
path: root/xpp/Makefile
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-18 10:14:55 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2007-09-18 10:14:55 +0000
commitd8408feade6cd16368f04f7b1f40b3448853c709 (patch)
tree844b6348237e926c4fcbb0936789e29f865cadad /xpp/Makefile
parent3e98d14d05b382a4ba1dccba939f819d869c148a (diff)
Support building the kernel with M= instead of with SUBDIRS= , as used
in some newer build systems. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@3055 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'xpp/Makefile')
-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) \