[PATCH] Makefile: Add '+' to QUIET_SUBDIR0 to fix parallel make.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Fernando J. Pereda <ferdy@xxxxxxxxxx>
---

  I don't know if this breaks non-gnu make, and don't have an easy way
  to test it right now. So someone should do that before it is applied.

  This is needed for GNU make to let sub-makes connect to the jobserver
  when multiple jobs are specified (-j option to make). It was not
  needed before 74f2b2a8d006a49e1be7e30731c2f7365d2741d1 because of how
  GNU make works.

  - ferdy

 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index ad321b3..090ea98 100644
--- a/Makefile
+++ b/Makefile
@@ -657,7 +657,7 @@ ifndef V
 	QUIET_LINK     = @echo '   ' LINK $@;
 	QUIET_BUILT_IN = @echo '   ' BUILTIN $@;
 	QUIET_GEN      = @echo '   ' GEN $@;
-	QUIET_SUBDIR0  = @subdir=
+	QUIET_SUBDIR0  = +@subdir=
 	QUIET_SUBDIR1  = ;$(NO_SUBDIR) echo '   ' SUBDIR $$subdir; \
 			 $(MAKE) $(PRINT_DIR) -C $$subdir
 	export V
-- 
1.5.1

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]