[make] replace echo commands with $(info)

Seems to result in less forks since it doesn't need to run an echo
binary.
This commit is contained in:
Travis Geiselbrecht
2018-12-01 11:47:43 -08:00
parent 4ada3fc4a8
commit 96d98bc160
4 changed files with 21 additions and 21 deletions

View File

@@ -32,8 +32,8 @@ endef
# generate a header file at $1 with an expanded variable in $2
define MAKECONFIGHEADER
$(info generating $1) \
$(MKDIR); \
echo generating $1; \
rm -f $1.tmp; \
LDEF=`echo $1 | tr '/\\.-' '_' | sed "s/C++/CPP/g;s/c++/cpp/g"`; \
echo \#ifndef __$${LDEF}_H > $1.tmp; \