mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
Make the AEL load process less chatty.
Switched a bunch of LOG_NOTICEs to ast_debug. This time without breaking the build. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@410994 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -142,10 +142,16 @@ aelbison.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res/ael -DYYENABLE_NLS=0
|
||||
pbx_ael.c: $(ASTTOPDIR)/pbx/pbx_ael.c
|
||||
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
|
||||
$(CMD_PREFIX) cp "$<" "$@"
|
||||
$(ECHO_PREFIX) echo " [SED] $@"
|
||||
$(CMD_PREFIX) sed 's/ast_debug([[:digit:]][[:digit:]]*/ast_log(LOG_DEBUG/' "$@" > "$@.new"
|
||||
$(CMD_PREFIX) mv "$@.new" "$@"
|
||||
|
||||
aelparse.c: $(ASTTOPDIR)/res/ael/ael_lex.c
|
||||
$(ECHO_PREFIX) echo " [CP] $(subst $(ASTTOPDIR)/,,$<) -> $@"
|
||||
$(CMD_PREFIX) cp "$<" "$@"
|
||||
$(ECHO_PREFIX) echo " [SED] $@"
|
||||
$(CMD_PREFIX) sed 's/ast_debug([[:digit:]][[:digit:]]*/ast_log(LOG_DEBUG/' "$@" > "$@.new"
|
||||
$(CMD_PREFIX) mv "$@.new" "$@"
|
||||
|
||||
aelparse.o: _ASTCFLAGS+=-I$(ASTTOPDIR)/res -Wno-unused
|
||||
aelparse: LIBS+=-lm
|
||||
|
Reference in New Issue
Block a user