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:
parent
3bf1b64d44
commit
bfb31ac953
|
@ -68,10 +68,10 @@ endif
|
|||
|
||||
ifneq ($(V),1)
|
||||
BUILT_IN_LINK.o := $(LINK.o)
|
||||
LINK.o = @echo " LD $$(pwd)/$@";
|
||||
LINK.o = @echo " LD $@";
|
||||
LINK.o += $(BUILT_IN_LINK.o)
|
||||
BUILT_IN_COMPILE.c := $(COMPILE.c)
|
||||
COMPILE.c = @echo " CC $$(pwd)/$@";
|
||||
COMPILE.c = @echo " CC $@";
|
||||
COMPILE.c += $(BUILT_IN_COMPILE.c)
|
||||
endif
|
||||
|
||||
|
@ -79,7 +79,7 @@ wg: $(patsubst %.c,%.o,$(wildcard *.c))
|
|||
|
||||
ifneq ($(V),1)
|
||||
clean:
|
||||
@echo " CLEAN $$(pwd)/{wg,*.o,*.d}"
|
||||
@echo " CLEAN {wg,*.o,*.d}"
|
||||
@$(RM) wg *.o *.d
|
||||
else
|
||||
clean:
|
||||
|
|
Loading…
Reference in a new issue