From ab2b09e557f0b909a736911b4cd78112c1037119 Mon Sep 17 00:00:00 2001 From: yinshengkai Date: Wed, 1 Feb 2023 16:46:00 +0800 Subject: [PATCH] Revert "Makefile: fix redundant delimiters when using make V=1" This reverts commit 64d39a8b7b4288c44f13b1ac5cb0878ad541fab5. --- libs/libc/Makefile | 6 +++--- mm/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libs/libc/Makefile b/libs/libc/Makefile index f98669fa9c..17d628b469 100644 --- a/libs/libc/Makefile +++ b/libs/libc/Makefile @@ -127,18 +127,18 @@ all: $(BIN) .PHONY: clean distclean $(AOBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.S - $(call ASSEMBLE, $(realpath $<), $@) + $(call ASSEMBLE, $<, $@) # REVISIT: Backslash causes problems in $(COBJS) target $(COBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.c - $(call COMPILE, $(realpath $<), $@) + $(call COMPILE, $<, $@) # C library for the flat build and # the user phase of the two-pass kernel build $(BIN): $(OBJS) - $(call ARCHIVE, $@, $(realpath $(OBJS))) + $(call ARCHIVE, $@, $(OBJS)) ifeq ($(CONFIG_LIBC_ZONEINFO_ROMFS),y) $(Q) $(MAKE) -C zoneinfo all BIN=$(BIN) endif diff --git a/mm/Makefile b/mm/Makefile index f9ddf0732a..5234948cd7 100644 --- a/mm/Makefile +++ b/mm/Makefile @@ -52,18 +52,18 @@ all: $(BIN) .PHONY: context depend clean distclean $(AOBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.S - $(call ASSEMBLE, $(realpath $<), $@) + $(call ASSEMBLE, $<, $@) # REVISIT: Backslash causes problems in $(COBJS) target $(COBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.c - $(call COMPILE, $(realpath $<), $@) + $(call COMPILE, $<, $@) # Memory manager for the flat build and # the user phase of the two-pass kernel build $(BIN): $(OBJS) - $(call ARCHIVE, $@, $(realpath $(OBJS))) + $(call ARCHIVE, $@, $(OBJS)) # Memory manager for the kernel phase of the two-pass kernel build