Print this page
4265 remove INTERNAL_RELEASE_BUILD

Split Close
Expand all
Collapse all
          --- old/usr/src/Makefile.master
          +++ new/usr/src/Makefile.master
↓ open down ↓ 36 lines elided ↑ open up ↑
  37   37  
  38   38  #
  39   39  # Adjunct for building things that run on the build machine.
  40   40  #
  41   41  NATIVE_ADJUNCT= /usr
  42   42  
  43   43  #
  44   44  # RELEASE_BUILD should be cleared for final release builds.
  45   45  # NOT_RELEASE_BUILD is exactly what the name implies.
  46   46  #
  47      -# INTERNAL_RELEASE_BUILD is a subset of RELEASE_BUILD. It mostly controls
  48      -# identification strings. Enabling RELEASE_BUILD automatically enables
  49      -# INTERNAL_RELEASE_BUILD.
  50      -#
  51      -# STRIP_COMMENTS toggles comment section striping. Generally the same setting
  52      -# as INTERNAL_RELEASE_BUILD.
  53      -#
  54   47  # __GNUC toggles the building of ON components using gcc and related tools.
  55   48  # Normally set to `#', set it to `' to do gcc build.
  56   49  #
  57   50  # The declaration POUND_SIGN is always '#'. This is needed to get around the
  58   51  # make feature that '#' is always a comment delimiter, even when escaped or
  59   52  # quoted. We use this macro expansion method to get POUND_SIGN rather than
  60   53  # always breaking out a shell because the general case can cause a noticable
  61   54  # slowdown in build times when so many Makefiles include Makefile.master.
  62   55  #
  63   56  # While the majority of users are expected to override the setting below
  64   57  # with an env file (via nightly or bldenv), if you aren't building that way
  65   58  # (ie, you're using "ws" or some other bootstrapping method) then you need
  66   59  # this definition in order to avoid the subshell invocation mentioned above.
  67   60  #
  68   61  
  69   62  PRE_POUND=                              pre\#
  70   63  POUND_SIGN=                             $(PRE_POUND:pre\%=%)
  71   64  
  72   65  NOT_RELEASE_BUILD=
  73      -INTERNAL_RELEASE_BUILD=                 $(POUND_SIGN)
  74   66  RELEASE_BUILD=                          $(POUND_SIGN)
  75   67  $(RELEASE_BUILD)NOT_RELEASE_BUILD=      $(POUND_SIGN)
  76      -$(RELEASE_BUILD)INTERNAL_RELEASE_BUILD=
  77   68  PATCH_BUILD=                            $(POUND_SIGN)
  78   69  
  79   70  # SPARC_BLD is '#' for an Intel build.
  80   71  # INTEL_BLD is '#' for a Sparc build.
  81   72  SPARC_BLD_1=    $(MACH:i386=$(POUND_SIGN))
  82   73  SPARC_BLD=      $(SPARC_BLD_1:sparc=)
  83   74  INTEL_BLD_1=    $(MACH:sparc=$(POUND_SIGN))
  84   75  INTEL_BLD=      $(INTEL_BLD_1:i386=)
  85   76  
  86      -STRIP_COMMENTS= $(INTERNAL_RELEASE_BUILD)
  87      -
  88   77  # The variables below control the compilers used during the build.
  89   78  # There are a number of permutations.
  90   79  #
  91   80  # __GNUC and __SUNC control (and indicate) the primary compiler.  Whichever
  92   81  # one is not POUND_SIGN is the primary, with the other as the shadow.  They
  93   82  # may also be used to control entirely compiler-specific Makefile assignments.
  94   83  # __SUNC and Sun Studio are the default.
  95   84  #
  96   85  # __GNUC64 indicates that the 64bit build should use the GNU C compiler.
  97   86  # There is no Sun C analogue.
↓ open down ↓ 863 lines elided ↑ open up ↑
 961  950  RELEASE_MAJOR=  5
 962  951  RELEASE_MINOR=  11
 963  952  RELEASE=        $(RELEASE_MAJOR).$(RELEASE_MINOR)
 964  953  VERSION=        SunOS Development
 965  954  PATCHID=        $(VERSION)
 966  955  RELEASE_DATE=   release date not set
 967  956  PATCH_DATE=     $(RELEASE_DATE)
 968  957  RELEASE_CM=     "@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
 969  958  DEV_CM=         "@($(POUND_SIGN))SunOS Internal Development: non-nightly build"
 970  959  
 971      -PROCESS_COMMENT=                   @?${MCS} -c -a $(RELEASE_CM) -a $(DEV_CM)
 972      -$(STRIP_COMMENTS)PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
      960 +PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
 973  961  $(RELEASE_BUILD)PROCESS_COMMENT=   @?${MCS} -d -a $(RELEASE_CM)
 974  962  
 975  963  STRIP_STABS=                       :
 976  964  $(RELEASE_BUILD)STRIP_STABS=       $(STRIP) -x $@
 977  965  $(SRCDBGBLD)STRIP_STABS=           :
 978  966  
 979  967  POST_PROCESS_O=         $(PROCESS_COMMENT) $@
 980  968  POST_PROCESS_A=
 981  969  POST_PROCESS_SO=        $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
 982  970                          $(ELFSIGN_OBJECT)
↓ open down ↓ 188 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX