summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-26 17:42:12 +0000
committerrussell <russell@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-07-26 17:42:12 +0000
commit4c1f7134300f26366e33052364a6d8d1e414bf71 (patch)
tree93d25083b7fe69fe23518d9f6567ca62628a7fb6 /Makefile
parent4a760e490d04632f9300adfcc03847317318ca1a (diff)
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) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1246 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7f9cd21..7ffb6cd 100644
--- a/Makefile
+++ b/Makefile
@@ -180,15 +180,15 @@ BINS:=$(filter-out $(MENUSELECT_UTILS),$(BINS))
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)
+linux24: prereq vpm450m_fw.h $(MODULESO)
-linux26: prereq vpm450m_fw.h $(BINS)
+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