From 1e26b3651b33db2ed4a2acab23e52ab2e21d7cd0 Mon Sep 17 00:00:00 2001 From: Rejean Loyer Date: Mon, 15 Jun 2020 17:28:45 -0400 Subject: [PATCH 1/3] tarball: use make's --no-print-directory flag. fix make's (sometimes like in artix linux) default behavior of always printing entering and leaving directory messages. we only want them when we specify V=1 for verbose builds. --- crossplatform.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crossplatform.mk b/crossplatform.mk index be269c837d..ee53accad7 100644 --- a/crossplatform.mk +++ b/crossplatform.mk @@ -3,6 +3,10 @@ $(info Using config.mk configuration file.) include config.mk endif +ifndef VERBOSE +MAKEFLAGS += --no-print-directory +endif + # HOST PLATFORM DETECTION ifeq ($(OS),Windows_NT) HOST_PLATFORM := win32 From 4a6577b531f2a40b087368b25fec3185b98519fa Mon Sep 17 00:00:00 2001 From: Rejean Loyer Date: Mon, 16 Sep 2019 23:39:25 -0400 Subject: [PATCH 2/3] tarball/Cleanfile: fix empty recipes as Cleanfile is a little different and some old recipies were left behind. { please squash with d3ded8f52e502a300d4ad7848df09dc6b4836f4a } --- Cleanfile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Cleanfile b/Cleanfile index 77d4011ff3..f31008e0e8 100644 --- a/Cleanfile +++ b/Cleanfile @@ -21,9 +21,6 @@ ifeq ($(wildcard $(_SDK_SRC_ROOT)Cleanfile),) _SDK_SRC_ROOT = $(find_sdk_src_root) endif -$(_SDK_SRC_ROOT)Cleanfile: ; -$(_SDK_SRC_ROOT)crossplatform.mk: ; - include $(_SDK_SRC_ROOT)crossplatform.mk subdirs := $(sort $(filter-out .configs obj __pycache__,$(hs_ls_dir))) @@ -64,5 +61,3 @@ ifdef _SDK_SRC_ROOT endif $(MAKEFILE_LIST): ; -$(SOURCES): ; -$(RESOURCES): ; From 71d9ba87b46c939f7a81eeff22b865ff1ded36fe Mon Sep 17 00:00:00 2001 From: Rejean Loyer Date: Mon, 14 Oct 2019 04:09:12 -0400 Subject: [PATCH 3/3] crossplatform.mk: add include guard variable CROSSPLATFORM_MK := defined. --- crossplatform.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crossplatform.mk b/crossplatform.mk index ee53accad7..b00021c53c 100644 --- a/crossplatform.mk +++ b/crossplatform.mk @@ -3,6 +3,8 @@ $(info Using config.mk configuration file.) include config.mk endif +CROSSPLATFORM_MK := defined + ifndef VERBOSE MAKEFLAGS += --no-print-directory endif @@ -316,7 +318,7 @@ endif ifeq ($(D),1) DEBUG_IS_ON := defined endif -addtolistfile = $(if $(1),@$(call echo,$(1)) >> $(2),) +addtolistfile = $(if $(1),@$(call echo,$(1))>> $(2),) ifdef WIN_SHELL_COMMANDS cd = @cd nullerror = 2>NUL