Print this page
3971 remove EXPORT_RELEASE_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      -# EXPORT_RELEASE_BUILD controls whether binaries are built in a form that
  41      -# can be released for export under a binary license.  It is orthogonal to
  42      -# the other *RELEASE_BUILD settings.  ("#" means do an export release
  43      -# build, "" means do a normal build.)
  44      -#
  45   40  # CLOSED_BUILD controls whether we try to build files under
  46   41  # usr/closed.  ("" means to build closed code, "#" means don't try to
  47   42  # build it.)  Skipping the closed code implies doing an export release
  48   43  # build.
  49   44  #
  50   45  # STRIP_COMMENTS toggles comment section striping. Generally the same setting
  51   46  # as INTERNAL_RELEASE_BUILD.
  52   47  #
  53   48  # __GNUC toggles the building of ON components using gcc and related tools.
  54   49  # Normally set to `#', set it to `' to do gcc build.
↓ open down ↓ 17 lines elided ↑ open up ↑
  72   67  INTERNAL_RELEASE_BUILD=                 $(POUND_SIGN)
  73   68  RELEASE_BUILD=                          $(POUND_SIGN)
  74   69  $(RELEASE_BUILD)NOT_RELEASE_BUILD=      $(POUND_SIGN)
  75   70  $(RELEASE_BUILD)INTERNAL_RELEASE_BUILD=
  76   71  PATCH_BUILD=                            $(POUND_SIGN)
  77   72  
  78   73  # If CLOSED_IS_PRESENT is not set, assume the closed tree is present.
  79   74  CLOSED_BUILD_1= $(CLOSED_IS_PRESENT:yes=)
  80   75  CLOSED_BUILD=   $(CLOSED_BUILD_1:no=$(POUND_SIGN))
  81   76  
  82      -EXPORT_RELEASE_BUILD=                   $(POUND_SIGN)
  83      -$(CLOSED_BUILD)EXPORT_RELEASE_BUILD=
  84      -
  85   77  # SPARC_BLD is '#' for an Intel build.
  86   78  # INTEL_BLD is '#' for a Sparc build.
  87   79  SPARC_BLD_1=    $(MACH:i386=$(POUND_SIGN))
  88   80  SPARC_BLD=      $(SPARC_BLD_1:sparc=)
  89   81  INTEL_BLD_1=    $(MACH:sparc=$(POUND_SIGN))
  90   82  INTEL_BLD=      $(INTEL_BLD_1:i386=)
  91   83  
  92   84  STRIP_COMMENTS= $(INTERNAL_RELEASE_BUILD)
  93   85  
  94   86  # Are we building tonic closedbins? Unless you have used the
↓ open down ↓ 797 lines elided ↑ open up ↑
 892  884  # Override to pass module-specific flags to ctfmerge.  Currently used
 893  885  # only by krtld to turn on fuzzy matching.
 894  886  #
 895  887  CTFMRGFLAGS=
 896  888  
 897  889  CTFCONVERT_O            = $(CTFCONVERT) $(CTFCVTFLAGS) $@
 898  890  
 899  891  ELFSIGN_O=      $(TRUE)
 900  892  ELFSIGN_CRYPTO= $(ELFSIGN_O)
 901  893  ELFSIGN_OBJECT= $(ELFSIGN_O)
 902      -$(EXPORT_RELEASE_BUILD)ELFSIGN_O =      $(ELFSIGN)
 903      -$(EXPORT_RELEASE_BUILD)ELFSIGN_CFNAME = SUNWosnetCF
 904      -$(EXPORT_RELEASE_BUILD)ELFSIGN_KEY =    \
 905      -                        $(CLOSED)/cmd/cmd-crypto/etc/keys/$(ELFSIGN_CFNAME)
 906      -$(EXPORT_RELEASE_BUILD)ELFSIGN_CERT=    \
 907      -                        $(CLOSED)/cmd/cmd-crypto/etc/certs/$(ELFSIGN_CFNAME)
 908      -$(EXPORT_RELEASE_BUILD)ELFSIGN_SENAME = SUNWosnetSE
 909      -$(EXPORT_RELEASE_BUILD)ELFSIGN_SEKEY =  \
 910      -                        $(CLOSED)/cmd/cmd-crypto/etc/keys/$(ELFSIGN_SENAME)
 911      -$(EXPORT_RELEASE_BUILD)ELFSIGN_SECERT=  \
 912      -                        $(CLOSED)/cmd/cmd-crypto/etc/certs/$(ELFSIGN_SENAME)
 913      -$(EXPORT_RELEASE_BUILD)ELFSIGN_CRYPTO=  $(ELFSIGN_O) sign \
 914      -                        $(ELFSIGN_FORMAT_OPTION) \
 915      -                        -k $(ELFSIGN_KEY) -c $(ELFSIGN_CERT) -e $@
 916      -$(EXPORT_RELEASE_BUILD)ELFSIGN_OBJECT=  $(ELFSIGN_O) sign \
 917      -                        $(ELFSIGN_FORMAT_OPTION) \
 918      -                        -k $(ELFSIGN_SEKEY) -c $(ELFSIGN_SECERT) -e $@
 919  894  
 920  895  # Rules (normally from make.rules) and macros which are used for post
 921  896  # processing files. Normally, these do stripping of the comment section
 922  897  # automatically.
 923  898  #    RELEASE_CM:        Should be editted to reflect the release.
 924  899  #    POST_PROCESS_O:    Post-processing for `.o' files.
 925  900  #    POST_PROCESS_A:    Post-processing for `.a' files (currently null).
 926  901  #    POST_PROCESS_SO:   Post-processing for `.so' files.
 927  902  #    POST_PROCESS:      Post-processing for executable files (no suffix).
 928  903  # Note that these macros are not completely generalized as they are to be
↓ open down ↓ 242 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX