aboutsummaryrefslogtreecommitdiffstats
path: root/channels/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'channels/Makefile')
-rw-r--r--channels/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile
index 50df82c58..757f20967 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -89,10 +89,16 @@ gentone: gentone.c
$(CMD_PREFIX) $(HOST_CC) -o $@ $^ -lm
busy.h: gentone
+ -@mv $@ $@.tmp
./gentone busy 480 620
+ @cmp -s $@.tmp $@ && mv $@.tmp $@
+ -@rm -f $@.tmp
ringtone.h: gentone
+ -@mv $@ $@.tmp
./gentone ringtone 440 480
+ @cmp -s $@.tmp $@ && mv $@.tmp $@
+ -@rm -f $@.tmp
$(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): iax2-parser.o iax2-provision.o