[zaptel-commits] tzafrir: branch 1.2 r3055 - /branches/1.2/xpp/Makefile

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Tue Sep 18 05:14:55 CDT 2007


Author: tzafrir
Date: Tue Sep 18 05:14:55 2007
New Revision: 3055

URL: http://svn.digium.com/view/zaptel?view=rev&rev=3055
Log:
Support building the kernel with M= instead of with SUBDIRS= , as used 
in some newer build systems.

Modified:
    branches/1.2/xpp/Makefile

Modified: branches/1.2/xpp/Makefile
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/Makefile?view=diff&rev=3055&r1=3054&r2=3055
==============================================================================
--- branches/1.2/xpp/Makefile (original)
+++ branches/1.2/xpp/Makefile Tue Sep 18 05:14:55 2007
@@ -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)	\




More information about the zaptel-commits mailing list