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>


   3 # The contents of this file are subject to the terms of the
   4 # Common Development and Distribution License (the "License").
   5 # You may not use this file except in compliance with the License.
   6 #
   7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   8 # or http://www.opensolaris.org/os/licensing.
   9 # See the License for the specific language governing permissions
  10 # and limitations under the License.
  11 #
  12 # When distributing Covered Code, include this CDDL HEADER in each
  13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  14 # If applicable, add the following below this CDDL HEADER, with the
  15 # fields enclosed by brackets "[]" replaced with your own identifying
  16 # information: Portions Copyright [yyyy] [name of copyright owner]
  17 #
  18 # CDDL HEADER END
  19 #
  20 
  21 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  22 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.

  23 
  24 #
  25 #       This makefile contains the common definitions for all intel
  26 #       implementation architecture independent modules.
  27 #
  28 
  29 #
  30 #       Machine type (implementation architecture):
  31 #
  32 PLATFORM         = i86pc
  33 
  34 #
  35 #       Everybody needs to know how to build modstubs.o and to locate unix.o.
  36 #       Note that unix.o must currently be selected from among the possible
  37 #       "implementation architectures". Note further, that unix.o is only
  38 #       used as an optional error check for undefines so (theoretically)
  39 #       any "implementation architectures" could be used. We choose i86pc
  40 #       because it is the reference port.
  41 #
  42 UNIX_DIR         = $(UTSBASE)/i86pc/unix


 134 
 135 ASFLAGS                 += $(ASFLAGS_XARCH)
 136 
 137 #
 138 #       Define the base directory for installation.
 139 #
 140 BASE_INS_DIR    = $(ROOT)
 141 
 142 #
 143 #       Debugging level
 144 #
 145 #       Special knowledge of which special debugging options affect which
 146 #       file is used to optimize the build if these flags are changed.
 147 #
 148 DEBUG_DEFS_OBJ32        =
 149 DEBUG_DEFS_DBG32        = -DDEBUG
 150 DEBUG_DEFS_OBJ64        =
 151 DEBUG_DEFS_DBG64        = -DDEBUG
 152 DEBUG_DEFS              = $(DEBUG_DEFS_$(BUILD_TYPE))
 153 
 154 DEBUG_COND_OBJ32        :sh = echo \\043
 155 DEBUG_COND_DBG32        =
 156 DEBUG_COND_OBJ64        :sh = echo \\043
 157 DEBUG_COND_DBG64        =
 158 IF_DEBUG_OBJ            = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
 159 
 160 $(IF_DEBUG_OBJ)syscall.o        :=      DEBUG_DEFS      += -DSYSCALLTRACE
 161 $(IF_DEBUG_OBJ)clock.o          :=      DEBUG_DEFS      += -DKSLICE=1
 162 
 163 #
 164 #       Collect the preprocessor definitions to be associated with *all*
 165 #       files.
 166 #
 167 ALL_DEFS         = $(DEBUG_DEFS) $(OPTION_DEFS)
 168 
 169 #
 170 #       The kernels modules which are "implementation architecture"
 171 #       specific for this machine are enumerated below. Note that most
 172 #       of these modules must exist (in one form or another) for each
 173 #       architecture.
 174 #
 175 #       Common Drivers (usually pseudo drivers) (/kernel/drv)
 176 #       DRV_KMODS are built both 32-bit and 64-bit




   3 # The contents of this file are subject to the terms of the
   4 # Common Development and Distribution License (the "License").
   5 # You may not use this file except in compliance with the License.
   6 #
   7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   8 # or http://www.opensolaris.org/os/licensing.
   9 # See the License for the specific language governing permissions
  10 # and limitations under the License.
  11 #
  12 # When distributing Covered Code, include this CDDL HEADER in each
  13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  14 # If applicable, add the following below this CDDL HEADER, with the
  15 # fields enclosed by brackets "[]" replaced with your own identifying
  16 # information: Portions Copyright [yyyy] [name of copyright owner]
  17 #
  18 # CDDL HEADER END
  19 #
  20 
  21 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
  22 # Copyright (c) 2012 Nexenta Systems, Inc. All rights reserved.
  23 # Copyright (c) 2013 Andrew Stormont.  All rights reserved.
  24 
  25 #
  26 #       This makefile contains the common definitions for all intel
  27 #       implementation architecture independent modules.
  28 #
  29 
  30 #
  31 #       Machine type (implementation architecture):
  32 #
  33 PLATFORM         = i86pc
  34 
  35 #
  36 #       Everybody needs to know how to build modstubs.o and to locate unix.o.
  37 #       Note that unix.o must currently be selected from among the possible
  38 #       "implementation architectures". Note further, that unix.o is only
  39 #       used as an optional error check for undefines so (theoretically)
  40 #       any "implementation architectures" could be used. We choose i86pc
  41 #       because it is the reference port.
  42 #
  43 UNIX_DIR         = $(UTSBASE)/i86pc/unix


 135 
 136 ASFLAGS                 += $(ASFLAGS_XARCH)
 137 
 138 #
 139 #       Define the base directory for installation.
 140 #
 141 BASE_INS_DIR    = $(ROOT)
 142 
 143 #
 144 #       Debugging level
 145 #
 146 #       Special knowledge of which special debugging options affect which
 147 #       file is used to optimize the build if these flags are changed.
 148 #
 149 DEBUG_DEFS_OBJ32        =
 150 DEBUG_DEFS_DBG32        = -DDEBUG
 151 DEBUG_DEFS_OBJ64        =
 152 DEBUG_DEFS_DBG64        = -DDEBUG
 153 DEBUG_DEFS              = $(DEBUG_DEFS_$(BUILD_TYPE))
 154 
 155 DEBUG_COND_OBJ32        = $(POUND_SIGN)
 156 DEBUG_COND_DBG32        =
 157 DEBUG_COND_OBJ64        = $(POUND_SIGN)
 158 DEBUG_COND_DBG64        =
 159 IF_DEBUG_OBJ            = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
 160 
 161 $(IF_DEBUG_OBJ)syscall.o        :=      DEBUG_DEFS      += -DSYSCALLTRACE
 162 $(IF_DEBUG_OBJ)clock.o          :=      DEBUG_DEFS      += -DKSLICE=1
 163 
 164 #
 165 #       Collect the preprocessor definitions to be associated with *all*
 166 #       files.
 167 #
 168 ALL_DEFS         = $(DEBUG_DEFS) $(OPTION_DEFS)
 169 
 170 #
 171 #       The kernels modules which are "implementation architecture"
 172 #       specific for this machine are enumerated below. Note that most
 173 #       of these modules must exist (in one form or another) for each
 174 #       architecture.
 175 #
 176 #       Common Drivers (usually pseudo drivers) (/kernel/drv)
 177 #       DRV_KMODS are built both 32-bit and 64-bit