Print this page
4027 remove CLOSED_BUILD

Split Close
Expand all
Collapse all
          --- old/usr/src/Makefile.master
          +++ new/usr/src/Makefile.master
↓ open down ↓ 29 lines elided ↑ open up ↑
  30   30  ROOT=           /proto
  31   31  
  32   32  #
  33   33  # RELEASE_BUILD should be cleared for final release builds.
  34   34  # NOT_RELEASE_BUILD is exactly what the name implies.
  35   35  #
  36   36  # INTERNAL_RELEASE_BUILD is a subset of RELEASE_BUILD. It mostly controls
  37   37  # identification strings. Enabling RELEASE_BUILD automatically enables
  38   38  # INTERNAL_RELEASE_BUILD.
  39   39  #
  40      -# CLOSED_BUILD controls whether we try to build files under
  41      -# usr/closed.  ("" means to build closed code, "#" means don't try to
  42      -# build it.)  Skipping the closed code implies doing an export release
  43      -# build.
  44      -#
  45   40  # STRIP_COMMENTS toggles comment section striping. Generally the same setting
  46   41  # as INTERNAL_RELEASE_BUILD.
  47   42  #
  48   43  # __GNUC toggles the building of ON components using gcc and related tools.
  49   44  # Normally set to `#', set it to `' to do gcc build.
  50   45  #
  51   46  # The declaration POUND_SIGN is always '#'. This is needed to get around the
  52   47  # make feature that '#' is always a comment delimiter, even when escaped or
  53   48  # quoted. We use this macro expansion method to get POUND_SIGN rather than
  54   49  # always breaking out a shell because the general case can cause a noticable
↓ open down ↓ 8 lines elided ↑ open up ↑
  63   58  PRE_POUND=                              pre\#
  64   59  POUND_SIGN=                             $(PRE_POUND:pre\%=%)
  65   60  
  66   61  NOT_RELEASE_BUILD=
  67   62  INTERNAL_RELEASE_BUILD=                 $(POUND_SIGN)
  68   63  RELEASE_BUILD=                          $(POUND_SIGN)
  69   64  $(RELEASE_BUILD)NOT_RELEASE_BUILD=      $(POUND_SIGN)
  70   65  $(RELEASE_BUILD)INTERNAL_RELEASE_BUILD=
  71   66  PATCH_BUILD=                            $(POUND_SIGN)
  72   67  
  73      -# If CLOSED_IS_PRESENT is not set, assume the closed tree is present.
  74      -CLOSED_BUILD_1= $(CLOSED_IS_PRESENT:yes=)
  75      -CLOSED_BUILD=   $(CLOSED_BUILD_1:no=$(POUND_SIGN))
  76      -
  77   68  # SPARC_BLD is '#' for an Intel build.
  78   69  # INTEL_BLD is '#' for a Sparc build.
  79   70  SPARC_BLD_1=    $(MACH:i386=$(POUND_SIGN))
  80   71  SPARC_BLD=      $(SPARC_BLD_1:sparc=)
  81   72  INTEL_BLD_1=    $(MACH:sparc=$(POUND_SIGN))
  82   73  INTEL_BLD=      $(INTEL_BLD_1:i386=)
  83   74  
  84   75  STRIP_COMMENTS= $(INTERNAL_RELEASE_BUILD)
  85   76  
  86   77  # Are we building tonic closedbins? Unless you have used the
↓ open down ↓ 1093 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX