Print this page
include build stamp in unix

Split Close
Expand all
Collapse all
          --- old/usr/src/Makefile.master
          +++ new/usr/src/Makefile.master
↓ open down ↓ 190 lines elided ↑ open up ↑
 191  191  RMIC=           $(JAVA_ROOT)/bin/rmic
 192  192  JAR=            $(JAVA_ROOT)/bin/jar
 193  193  CTFCONVERT=     $(ONBLD_TOOLS)/bin/$(MACH)/ctfconvert
 194  194  CTFMERGE=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfmerge
 195  195  CTFSTABS=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfstabs
 196  196  NDRGEN=         $(ONBLD_TOOLS)/bin/$(MACH)/ndrgen
 197  197  GENOFFSETS=     $(ONBLD_TOOLS)/bin/genoffsets
 198  198  CTFCVTPTBL=     $(ONBLD_TOOLS)/bin/ctfcvtptbl
 199  199  CTFFINDMOD=     $(ONBLD_TOOLS)/bin/ctffindmod
 200  200  XREF=           $(ONBLD_TOOLS)/bin/xref
      201 +BUILDSTAMP=     $(ONBLD_TOOLS)/bin/buildstamp
 201  202  FIND=           /usr/bin/find
 202  203  PERL=           /usr/bin/perl
 203  204  PYTHON_24=      /usr/bin/python2.4
 204  205  PYTHON_26=      /usr/bin/python2.6
 205  206  PYTHON=         $(PYTHON_24)
 206  207  SORT=           /usr/bin/sort
 207  208  TOUCH=          /usr/bin/touch
 208  209  WC=             /usr/bin/wc
 209  210  XARGS=          /usr/bin/xargs
 210  211  ELFEDIT=        /usr/bin/elfedit
↓ open down ↓ 739 lines elided ↑ open up ↑
 950  951  PATCHID=        $(VERSION)
 951  952  RELEASE_DATE=   release date not set
 952  953  PATCH_DATE=     $(RELEASE_DATE)
 953  954  RELEASE_CM=     "@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
 954  955  DEV_CM=         "@($(POUND_SIGN))SunOS Internal Development: non-nightly build"
 955  956  
 956  957  PROCESS_COMMENT=                   @?${MCS} -c -a $(RELEASE_CM) -a $(DEV_CM)
 957  958  $(STRIP_COMMENTS)PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
 958  959  $(RELEASE_BUILD)PROCESS_COMMENT=   @?${MCS} -d -a $(RELEASE_CM)
 959  960  
      961 +PROCESS_BUILDSTAMP=     @?${MCS} -n .ILLUMOS_buildstamp -d -a "`${BUILDSTAMP}`"
      962 +
 960  963  STRIP_STABS=                       :
 961  964  $(RELEASE_BUILD)STRIP_STABS=       $(STRIP) -x $@
 962  965  
 963  966  POST_PROCESS_O=         $(PROCESS_COMMENT) $@
 964  967  POST_PROCESS_A=
 965  968  POST_PROCESS_SO=        $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
 966  969                          $(ELFSIGN_OBJECT)
 967  970  POST_PROCESS=           $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
 968  971                          $(ELFSIGN_OBJECT)
 969  972  
↓ open down ↓ 192 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX