[zaptel-commits] russell: trunk r1246 - /trunk/Makefile
zaptel-commits at lists.digium.com
zaptel-commits at lists.digium.com
Wed Jul 26 10:42:13 MST 2006
Author: russell
Date: Wed Jul 26 12:42:12 2006
New Revision: 1246
URL: http://svn.digium.com/view/zaptel?rev=1246&view=rev
Log:
tweak the Makefile so that if no kernel modules are selected, it doesn't do any
checks looking for kernel sources so that the zaptel utilities can be built
without any kernel sources installed (issue #7594, jcollie)
Modified:
trunk/Makefile
Modified: trunk/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/Makefile?rev=1246&r1=1245&r2=1246&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Wed Jul 26 12:42:12 2006
@@ -180,15 +180,15 @@
all: menuselect.makeopts
@$(MAKE) _all
-_all: modules $(LIBTONEZONE_SO)
+_all: $(if $(MODULES),modules) programs $(LIBTONEZONE_SO)
programs: $(BINS)
modules: $(BUILDVER)
-linux24: prereq vpm450m_fw.h $(MODULESO) $(BINS)
-
-linux26: prereq vpm450m_fw.h $(BINS)
+linux24: prereq vpm450m_fw.h $(MODULESO)
+
+linux26: prereq vpm450m_fw.h
@if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi
$(KMAKE) modules
More information about the zaptel-commits
mailing list