summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-23 22:48:36 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-05-23 22:48:36 +0000
commit32ca18d789a89c3a41c706219dc02aa65c87939c (patch)
tree659ee4c0af4a9c42112e8c56700f94b3a7ac8dc7
parent77731666835ea9cd4d6937483d2648af57af3add (diff)
fix module build failure for 2.4 kernels (bad developer... no donut!)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@654 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-xMakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c48a319..440e011 100755
--- a/Makefile
+++ b/Makefile
@@ -169,7 +169,7 @@ ztdynamic.o: zaptel.h
ztd-eth.o: zaptel.h
$(MODULESO): %.o: %.c zaptel.h
- $(HOSTCC) $(KFLAGS) -o $@ -c $^
+ $(HOSTCC) $(KFLAGS) -o $@ -c $<
tor2ee.o: tor2-hw.h
@@ -226,7 +226,7 @@ sethdlc-new.o: sethdlc-new.c
$(CC) -o $@ -c $(CFLAGS) -I$(KINCLUDES) $^
libtonezone.a: $(TZOBJS)
- ar rcs libtonezone.a $(TZOBJS)
+ ar rcs libtonezone.a $^
$(LIBTONEZONE_SO): $(TZOBJS)
$(CC) -shared -Wl,-soname,$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) -lm -o $@ $^