| # verbosity: pass V=1 for verbose shell invocation |
| # Some common commands such as CC/LD/AR are redefined with a cmd_ equivalent |
| # and are either mapped to a silent rule just indicating what is being done, |
| # or to themselves depending on the verbosity level. |
| ifeq (3.81,$(firstword $(sort $(MAKE_VERSION) 3.81))) |
| cmd_CC = $(info $ CC $@) $(Q)$(CC) |
| cmd_LD = $(info $ LD $@) $(Q)$(LD) |
| cmd_AR = $(info $ AR $@) $(Q)$(AR) |
| cmd_MAKE = $(info $ MAKE $@) $(Q)+$(MAKE) |
| cmd_CC = $(Q)echo " CC $@";$(CC) |
| cmd_LD = $(Q)echo " LD $@";$(LD) |
| cmd_AR = $(Q)echo " AR $@";$(AR) |
| cmd_MAKE = $(Q)echo " MAKE $@";$(MAKE) |