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 @@
#
# 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.
#
#
# This Makefile contains the common targets and definitions for
# all kernels. It is to be included in the Makefiles for specific
@@ -667,14 +668,12 @@
#
# The idea here is for unix_bb.o to be in all kernels except the
# 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!
#
$(OBJS_DIR)/unix_bb.o := XAOPT =