From fbc27183b35df7778cf106450b144474f8e2a35c Mon Sep 17 00:00:00 2001 From: Andrew Hughes Date: Wed, 30 Oct 2024 00:42:06 +0000 Subject: [PATCH] Log devkit build to stdout Resolves: OPENJDK-3071 --- make/devkit/Tools.gmk | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/make/devkit/Tools.gmk b/make/devkit/Tools.gmk index 9ede781413d..b6f895f5a25 100644 --- a/make/devkit/Tools.gmk +++ b/make/devkit/Tools.gmk @@ -458,7 +458,7 @@ $(BUILDDIR)/$(binutils_ver)/Makefile \ --enable-multilib \ --enable-threads \ --enable-plugins \ - ) > $(@D)/log.config 2>&1 + ) 2>&1 | tee $(@D)/log.config @echo 'done' $(BUILDDIR)/$(mpfr_ver)/Makefile \ @@ -473,7 +473,7 @@ $(BUILDDIR)/$(mpfr_ver)/Makefile \ --program-prefix=$(TARGET)- \ --enable-shared=no \ --with-gmp=$(PREFIX) \ - ) > $(@D)/log.config 2>&1 + ) 2>&1 | tee $(@D)/log.config @echo 'done' $(BUILDDIR)/$(gmp_ver)/Makefile \ @@ -490,7 +490,7 @@ $(BUILDDIR)/$(gmp_ver)/Makefile \ --program-prefix=$(TARGET)- \ --enable-shared=no \ --with-mpfr=$(PREFIX) \ - ) > $(@D)/log.config 2>&1 + ) 2>&1 | tee $(@D)/log.config @echo 'done' $(BUILDDIR)/$(mpc_ver)/Makefile \ @@ -506,7 +506,7 @@ $(BUILDDIR)/$(mpc_ver)/Makefile \ --enable-shared=no \ --with-mpfr=$(PREFIX) \ --with-gmp=$(PREFIX) \ - ) > $(@D)/log.config 2>&1 + ) 2>&1 | tee $(@D)/log.config @echo 'done' # Only valid if glibc target -> linux @@ -549,7 +549,7 @@ $(BUILDDIR)/$(gcc_ver)/Makefile \ --with-mpfr=$(PREFIX) \ --with-gmp=$(PREFIX) \ --with-mpc=$(PREFIX) \ - ) > $(@D)/log.config 2>&1 + ) 2>&1 | tee $(@D)/log.config @echo 'done' # need binutils for gcc @@ -571,7 +571,7 @@ ifeq ($(HOST), $(TARGET)) $(PATHPRE) $(ENVS) CFLAGS="$(CFLAGS)" $(GDB_CFG) \ $(CONFIG) \ --with-sysroot=$(SYSROOT) \ - ) > $(@D)/log.config 2>&1 + ) 2>&1 | tee $(@D)/log.config @echo 'done' $(gdb): $(gcc) @@ -593,7 +593,7 @@ $(BUILDDIR)/$(ccache_ver)/Makefile \ cd $(@D) ; \ $(PATHPRE) $(ENVS) $(CCACHE_CFG) \ $(CONFIG) \ - ) > $(@D)/log.config 2>&1 + ) 2>&1 | tee $(@D)/log.config @echo 'done' gccpatch = $(TARGETDIR)/gcc-patched @@ -641,9 +641,9 @@ endif # Always need to build cross tools for build host self. $(TARGETDIR)/%.done : $(BUILDDIR)/%/Makefile $(info Building $(basename $@). Log in $( $(&1 + $(PATHPRE) $(ENVS) $(MAKE) $(BUILDPAR) -f $< -C $(&1 | tee $( $(&1 + $(PATHPRE) $(MAKE) $(INSTALLPAR) -f $< -C $(&1 | tee $(