From d8496160cbcafa2afaacff8930fb5223a4261351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20H=C3=B6ppner?= Date: Wed, 19 Jul 2023 12:58:29 +0200 Subject: [PATCH] Makefile: Fix pretty print indentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 62ec87680a61 ("common.mak: improve cross compilation support") added one extra whitespace during the changes of the toolchain command definitions. The rest of the commands did not receive that change. Since then the pretty print output looks like this: ... CC zipl/boot/eckd1b.o CXX ziomon/ziorep_collapser.o SED zdev/src/lszdev_usage.c CC hyptop/sd_cpu_items.o MV zfcpdump/zfcpdump-initrd LINK dasdfmt/dasdfmt ... Add the additional whitespace to all other tools definitions used during the build process. Note: This doesn't fix the misaligned indentation for commands like $(CC_FOR_BUILD) as those inherit the whitespace from the original command, here $(CC). Signed-off-by: Jan Höppner --- common.mak | 12 ++++++------ zfcpdump/Makefile | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/common.mak b/common.mak index e9eeedbe..b72eae41 100644 --- a/common.mak +++ b/common.mak @@ -118,12 +118,12 @@ endif $(call define_toolchain_variables,_FOR_BUILD,) $(call define_toolchain_variables,,$(CROSS_COMPILE)) -$(eval $(call cmd_define,RUNTEST," RUNTEST ",$(S390_TEST_LIB_PATH)/s390_runtest)) -$(eval $(call cmd_define, CAT," CAT ",cat)) -$(eval $(call cmd_define, SED," SED ",sed)) -$(eval $(call cmd_define, GZIP," GZIP ",gzip)) -$(eval $(call cmd_define, MV," MV ",mv)) -$(eval $(call cmd_define, PERLC," PERLC ",perl -c)) +$(eval $(call cmd_define,RUNTEST," RUNTEST ",$(S390_TEST_LIB_PATH)/s390_runtest)) +$(eval $(call cmd_define, CAT," CAT ",cat)) +$(eval $(call cmd_define, SED," SED ",sed)) +$(eval $(call cmd_define, GZIP," GZIP ",gzip)) +$(eval $(call cmd_define, MV," MV ",mv)) +$(eval $(call cmd_define, PERLC," PERLC ",perl -c)) CHECK = sparse CHECK_SILENT := $(CHECK) diff --git a/zfcpdump/Makefile b/zfcpdump/Makefile index 3a32810d..34df1bff 100644 --- a/zfcpdump/Makefile +++ b/zfcpdump/Makefile @@ -1,6 +1,6 @@ include ../common.mak -CPIOINIT = $(call echocmd," CPIOINI ",/$@)./cpioinit +CPIOINIT = $(call echocmd," CPIOINI ",/$@)./cpioinit INSTALL_SCRIPTS = 10-zfcpdump.install ALL_CFLAGS += -fno-sanitize=all