diff options
author | Andy Stormont <astormont@racktopsystems.com> | 2013-09-10 12:27:03 +0100 |
---|---|---|
committer | Gordon Ross <gwr@nexenta.com> | 2013-09-13 11:38:55 -0400 |
commit | ea76c26cbb46a2abd6ae5d4bdfaa26e32a405633 (patch) | |
tree | b25f0f3dc86a9c5b037f89563d8b28a11cbbff30 | |
parent | 20aa1b4d581d4b759a9db7f61e4ab39b88dcb9c4 (diff) | |
download | illumos-joyent-ea76c26cbb46a2abd6ae5d4bdfaa26e32a405633.tar.gz |
3806 illumos build execs echo unnecessarily
Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Approved by: Dan McDonald <danmcd@nexenta.com>
-rw-r--r-- | usr/src/cmd/sa/Makefile | 11 | ||||
-rw-r--r-- | usr/src/uts/Makefile.uts | 7 | ||||
-rw-r--r-- | usr/src/uts/i86pc/Makefile.i86pc.shared | 5 | ||||
-rw-r--r-- | usr/src/uts/i86xpv/Makefile.i86xpv.shared | 5 | ||||
-rw-r--r-- | usr/src/uts/intel/Makefile.intel.shared | 5 | ||||
-rw-r--r-- | usr/src/uts/sparc/Makefile.sparc.shared | 5 | ||||
-rw-r--r-- | usr/src/uts/sun4u/Makefile.sun4u.shared | 3 | ||||
-rw-r--r-- | usr/src/uts/sun4v/Makefile.sun4v.shared | 3 |
8 files changed, 24 insertions, 20 deletions
diff --git a/usr/src/cmd/sa/Makefile b/usr/src/cmd/sa/Makefile index 26434ff36c..33709e45ce 100644 --- a/usr/src/cmd/sa/Makefile +++ b/usr/src/cmd/sa/Makefile @@ -21,6 +21,7 @@ # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # # cmd/sa/Makefile # @@ -78,12 +79,10 @@ ROOTLIBSHELL= $(LIBSHELL:%=$(LIBSAD)/%) ROOTSYMLINKS= $(SBINPROG:%=$(ROOTBIN)/%) # Performance monitoring should not be enabled by default. Hence, these -# entries are comments. Note the difficulty of inserting a literal # -# in a makefile.... Wonderful parser here.... -COMMENT_CHAR:sh= echo \\043 -ENTRY1= '$(COMMENT_CHAR) 0 * * * 0-6 /usr/lib/sa/sa1' -ENTRY2= '$(COMMENT_CHAR) 20,40 8-17 * * 1-5 /usr/lib/sa/sa1' -ENTRY3= '$(COMMENT_CHAR) 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A' +# entries are comments. +ENTRY1= '$(POUND_SIGN) 0 * * * 0-6 /usr/lib/sa/sa1' +ENTRY2= '$(POUND_SIGN) 20,40 8-17 * * 1-5 /usr/lib/sa/sa1' +ENTRY3= '$(POUND_SIGN) 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A' CLOBBERFILES= $(PROGS) $(SHELLS) diff --git a/usr/src/uts/Makefile.uts b/usr/src/uts/Makefile.uts index c050cd45ff..2753b3a54c 100644 --- a/usr/src/uts/Makefile.uts +++ b/usr/src/uts/Makefile.uts @@ -23,6 +23,7 @@ # Copyright (c) 1991, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2011 Bayard G. Bell. All rights reserved. # Copyright (c) 2011 by Delphix. All rights reserved. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # # @@ -669,10 +670,8 @@ $(BB_FILES) := XAOPT = -xa # kernel which actually gets shipped to customers. In practice, # $(RELEASE_BUILD) is on for a number of the late beta and fcs builds. # -CODE_COVERAGE= -$(RELEASE_BUILD)CODE_COVERAGE:sh= echo \\043 -$(CODE_COVERAGE)$(OBJS_DIR)/unix_bb.o := CPPFLAGS += -DKCOV -$(CODE_COVERAGE)$(OBJS_DIR)/unix_bb.ln := CPPFLAGS += -DKCOV +$(NOT_RELEASE_BUILD)$(OBJS_DIR)/unix_bb.o := CPPFLAGS += -DKCOV +$(NOT_RELEASE_BUILD)$(OBJS_DIR)/unix_bb.ln := CPPFLAGS += -DKCOV # # Do not let unix_bb.o get compiled with -xa! diff --git a/usr/src/uts/i86pc/Makefile.i86pc.shared b/usr/src/uts/i86pc/Makefile.i86pc.shared index 9b910c35ef..408a2a8b09 100644 --- a/usr/src/uts/i86pc/Makefile.i86pc.shared +++ b/usr/src/uts/i86pc/Makefile.i86pc.shared @@ -23,6 +23,7 @@ # uts/i86pc/Makefile.i86pc # # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # # # This makefile contains the common definitions for the i86pc unix @@ -185,9 +186,9 @@ DEBUG_DEFS_OBJ64 = DEBUG_DEFS_DBG64 = -DDEBUG DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE)) -DEBUG_COND_OBJ32 :sh = echo \\043 +DEBUG_COND_OBJ32 = $(POUND_SIGN) DEBUG_COND_DBG32 = -DEBUG_COND_OBJ64 :sh = echo \\043 +DEBUG_COND_OBJ64 = $(POUND_SIGN) DEBUG_COND_DBG64 = IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/ diff --git a/usr/src/uts/i86xpv/Makefile.i86xpv.shared b/usr/src/uts/i86xpv/Makefile.i86xpv.shared index 094a2b695f..83d3991147 100644 --- a/usr/src/uts/i86xpv/Makefile.i86xpv.shared +++ b/usr/src/uts/i86xpv/Makefile.i86xpv.shared @@ -24,6 +24,7 @@ # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # # @@ -177,9 +178,9 @@ DEBUG_DEFS_OBJ64 = DEBUG_DEFS_DBG64 = -DDEBUG DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE)) -DEBUG_COND_OBJ32 :sh = echo \\043 +DEBUG_COND_OBJ32 = $(POUND_SIGN) DEBUG_COND_DBG32 = -DEBUG_COND_OBJ64 :sh = echo \\043 +DEBUG_COND_OBJ64 = $(POUND_SIGN) DEBUG_COND_DBG64 = IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/ diff --git a/usr/src/uts/intel/Makefile.intel.shared b/usr/src/uts/intel/Makefile.intel.shared index 551d013e3a..c3d9f2b75f 100644 --- a/usr/src/uts/intel/Makefile.intel.shared +++ b/usr/src/uts/intel/Makefile.intel.shared @@ -20,6 +20,7 @@ # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # # This makefile contains the common definitions for all intel @@ -151,9 +152,9 @@ DEBUG_DEFS_OBJ64 = DEBUG_DEFS_DBG64 = -DDEBUG DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE)) -DEBUG_COND_OBJ32 :sh = echo \\043 +DEBUG_COND_OBJ32 = $(POUND_SIGN) DEBUG_COND_DBG32 = -DEBUG_COND_OBJ64 :sh = echo \\043 +DEBUG_COND_OBJ64 = $(POUND_SIGN) DEBUG_COND_DBG64 = IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/ diff --git a/usr/src/uts/sparc/Makefile.sparc.shared b/usr/src/uts/sparc/Makefile.sparc.shared index 71fe0467fc..24d2ff9110 100644 --- a/usr/src/uts/sparc/Makefile.sparc.shared +++ b/usr/src/uts/sparc/Makefile.sparc.shared @@ -20,6 +20,7 @@ # # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # @@ -178,9 +179,9 @@ DEBUG_DEFS_OBJ64 = DEBUG_DEFS_DBG64 = -DDEBUG DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE)) -DEBUG_COND_OBJ32 :sh = echo \\043 +DEBUG_COND_OBJ32 = $(POUND_SIGN) DEBUG_COND_DBG32 = -DEBUG_COND_OBJ64 :sh = echo \\043 +DEBUG_COND_OBJ64 = $(POUND_SIGN) DEBUG_COND_DBG64 = IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/ diff --git a/usr/src/uts/sun4u/Makefile.sun4u.shared b/usr/src/uts/sun4u/Makefile.sun4u.shared index 8675e7167f..3d83c4f462 100644 --- a/usr/src/uts/sun4u/Makefile.sun4u.shared +++ b/usr/src/uts/sun4u/Makefile.sun4u.shared @@ -22,6 +22,7 @@ # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # # This makefile contains the common definitions for the sun4u unix # and all sun4u implementation architecture dependent modules. @@ -273,7 +274,7 @@ DEBUG_DEFS_OBJ64 = DEBUG_DEFS_DBG64 = -DDEBUG DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE)) -DEBUG_COND_OBJ64 :sh = echo \\043 +DEBUG_COND_OBJ64 = $(POUND_SIGN) DEBUG_COND_DBG64 = IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/ diff --git a/usr/src/uts/sun4v/Makefile.sun4v.shared b/usr/src/uts/sun4v/Makefile.sun4v.shared index a0b12acb81..30706a7c08 100644 --- a/usr/src/uts/sun4v/Makefile.sun4v.shared +++ b/usr/src/uts/sun4v/Makefile.sun4v.shared @@ -22,6 +22,7 @@ # # Copyright 2010 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. +# Copyright (c) 2013 Andrew Stormont. All rights reserved. # # This makefile contains the common definitions for the sun4v unix # and all sun4v implementation architecture dependent modules. @@ -250,7 +251,7 @@ DEBUG_DEFS_OBJ64 = DEBUG_DEFS_DBG64 = -DDEBUG DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE)) -DEBUG_COND_OBJ64 :sh = echo \\043 +DEBUG_COND_OBJ64 = $(POUND_SIGN) DEBUG_COND_DBG64 = IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/ |