Makefile: fix redundant delimiters when using make V=1

rm-none-eabi-ar rcs  libc.a    bin//lib_assert.o  bin//lib_builtin_getname.o
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2023-01-31 23:58:34 +08:00 committed by Alan Carvalho de Assis
parent f07885541c
commit 64d39a8b7b
2 changed files with 6 additions and 6 deletions

View File

@ -127,18 +127,18 @@ all: $(BIN)
.PHONY: clean distclean
$(AOBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
$(call ASSEMBLE, $(realpath $<), $@)
# REVISIT: Backslash causes problems in $(COBJS) target
$(COBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.c
$(call COMPILE, $<, $@)
$(call COMPILE, $(realpath $<), $@)
# C library for the flat build and
# the user phase of the two-pass kernel build
$(BIN): $(OBJS)
$(call ARCHIVE, $@, $(OBJS))
$(call ARCHIVE, $@, $(realpath $(OBJS)))
ifeq ($(CONFIG_LIBC_ZONEINFO_ROMFS),y)
$(Q) $(MAKE) -C zoneinfo all BIN=$(BIN)
endif

View File

@ -52,18 +52,18 @@ all: $(BIN)
.PHONY: context depend clean distclean
$(AOBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.S
$(call ASSEMBLE, $<, $@)
$(call ASSEMBLE, $(realpath $<), $@)
# REVISIT: Backslash causes problems in $(COBJS) target
$(COBJS): $(BINDIR)$(DELIM)$(DELIM)%$(OBJEXT): %.c
$(call COMPILE, $<, $@)
$(call COMPILE, $(realpath $<), $@)
# Memory manager for the flat build and
# the user phase of the two-pass kernel build
$(BIN): $(OBJS)
$(call ARCHIVE, $@, $(OBJS))
$(call ARCHIVE, $@, $(realpath $(OBJS)))
# Memory manager for the kernel phase of the two-pass kernel build