summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-02-05 19:26:50 +0000
committertzafrir <tzafrir@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-02-05 19:26:50 +0000
commit09cbd97c920b6c61e9af8bb47c60f9b895881bed (patch)
treecd89b0339bd6c41ceb42a58d60a9ef2ec8ae8f9d
parent7e068801fbf82413ac0a5e63e586c268bd457434 (diff)
Make sure version.h is created before building modules.
Closes issue #11924. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3802 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f7fb84a..5822fc2 100644
--- a/Makefile
+++ b/Makefile
@@ -298,7 +298,7 @@ programs: libs utils
utils: $(BINS) utils-subdirs
-modules:
+modules: prereq
@if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ]; then echo "You do not appear to have the sources for the $(KVERS) kernel installed."; exit 1 ; fi
#ifeq ($(BUILDVER),linux26)
$(KMAKE) modules
@@ -334,7 +334,7 @@ zonedata.lo: zonedata.c
tonezone.lo: tonezone.c
$(CC) -c $(CFLAGS) -o $@ $^
-prereq: config.status tor2fw.h radfw.h version.h
+prereq: config.status version.h
zttool.o: kernel/zaptel.h
zttool.o: CFLAGS+=$(NEWT_INCLUDE)