Makefile: remove pwd from compile output

We previously included $(pwd) in the compile output pretty printer,
because it matched our parent out-of-tree module build. Since we're no
longer coupled to the module, we can return to a prettier scheme of just
using the object name.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Fixes: eb68ad07 ("Makefile: even prettier output")
This commit is contained in:
Jason A. Donenfeld 2020-01-03 12:36:10 +01:00
parent 3bf1b64d44
commit bfb31ac953
1 changed files with 3 additions and 3 deletions

View File

@ -68,10 +68,10 @@ endif
ifneq ($(V),1) ifneq ($(V),1)
BUILT_IN_LINK.o := $(LINK.o) BUILT_IN_LINK.o := $(LINK.o)
LINK.o = @echo " LD $$(pwd)/$@"; LINK.o = @echo " LD $@";
LINK.o += $(BUILT_IN_LINK.o) LINK.o += $(BUILT_IN_LINK.o)
BUILT_IN_COMPILE.c := $(COMPILE.c) BUILT_IN_COMPILE.c := $(COMPILE.c)
COMPILE.c = @echo " CC $$(pwd)/$@"; COMPILE.c = @echo " CC $@";
COMPILE.c += $(BUILT_IN_COMPILE.c) COMPILE.c += $(BUILT_IN_COMPILE.c)
endif endif
@ -79,7 +79,7 @@ wg: $(patsubst %.c,%.o,$(wildcard *.c))
ifneq ($(V),1) ifneq ($(V),1)
clean: clean:
@echo " CLEAN $$(pwd)/{wg,*.o,*.d}" @echo " CLEAN {wg,*.o,*.d}"
@$(RM) wg *.o *.d @$(RM) wg *.o *.d
else else
clean: clean: