[Buildroot] [PATCH] Make the MESSAGE Macro work

Peter Korsgaard jacmet at uclibc.org
Wed Nov 5 19:15:36 UTC 2008

>>>>> "hartleys" == hartleys  <hartleys at visionengravers.com> writes:

 hartleys> Hello all,
 hartleys> The following patch makes the MESSAGE Macro in Makefile.autotools.in
 hartleys> work.

 hartleys> I think it was originally intended to print the messages in bold type
 hartleys> but it doesn't appear to work correctly. This patch should work on all
 hartleys> platforms.
 hartleys>  # MESSAGE Macro -- display a message in bold type
 hartleys>  MESSAGE = @echo "$(TERM_BOLD)>>> $($(PKG)_NAME) $($(PKG)_VERSION)
 hartleys> $(1)$(TERM_RESET)"
 hartleys> -TERM_BOLD = #$(shell tput bold)
 hartleys> -TERM_RESET = #$(shell tput rmso)
 hartleys> +TERM_BOLD = $(shell tput smso)
 hartleys> +TERM_RESET = $(shell tput rmso)

These should probably be := so we don't end up with tons of tput

Bye, Peter Korsgaard

More information about the buildroot mailing list