Print this page
3806 illumos build execs echo unnecessarily
Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Reviewed by: Gary Mills <gary_mills@fastmail.fm>

@@ -21,10 +21,11 @@
 
 #
 # 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
 #       and all i86pc implementation architecture dependent modules.
 #

@@ -183,13 +184,13 @@
 DEBUG_DEFS_DBG32        = -DDEBUG
 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)/
 
 $(IF_DEBUG_OBJ)trap.o           := DEBUG_DEFS += -DTRAPDEBUG -DTRAPTRACE
 $(IF_DEBUG_OBJ)syscall_asm.o    := DEBUG_DEFS += -DSYSCALLTRACE -DTRAPTRACE