From: Luigi Rizzo Date: Tue, 6 Nov 2007 08:17:42 +0000 (+0000) Subject: explain that the host environment must be used to build gentone; X-Git-Tag: 1.6.0-beta1~3^2~991 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43f00fec19d76a6fb1bf917e1f3d51faeced4425;p=thirdparty%2Fasterisk.git explain that the host environment must be used to build gentone; Remove unset variables, they would be misleading. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88913 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/Makefile b/channels/Makefile index d5e46b225a..092dee93d6 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -83,15 +83,15 @@ endif dist-clean:: rm -f h323/Makefile +# gentone must be built with the HOST environment gentone: gentone.c - $(ECHO_PREFIX) echo " [LD] $^ -> $@" - $(CMD_PREFIX) $(HOST_CC) $(STATIC_BUILD) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $^ $(LIBS) -gentone: LIBS+=-lm + $(ECHO_PREFIX) echo " [HOST_CC] $^ -> $@" + $(CMD_PREFIX) $(HOST_CC) -o $@ $^ -lm -busy.h: +busy.h: gentone ./gentone busy 480 620 -ringtone.h: +ringtone.h: gentone ./gentone ringtone 440 480 $(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): iax2-parser.o iax2-provision.o