Print this page
11736 Stop using $VERSION for the genunix label
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>


1032 #       RELEASE         Specific release of the build, eg: 5.2
1033 #       RELEASE_MAJOR   Major version number part of $(RELEASE)
1034 #       RELEASE_MINOR   Minor version number part of $(RELEASE)
1035 #       VERSION         Version of the build (alpha, beta, Generic)
1036 #       PATCHID         If this is a patch this value should contain
1037 #                       the patchid value (eg: "Generic 100832-01"), otherwise
1038 #                       it will be set to $(VERSION)
1039 #       RELEASE_DATE    Date of the Release Build
1040 #       PATCH_DATE      Date the patch was created, if this is blank it
1041 #                       will default to the RELEASE_DATE
1042 #
1043 RELEASE_MAJOR=  5
1044 RELEASE_MINOR=  11
1045 RELEASE=        $(RELEASE_MAJOR).$(RELEASE_MINOR)
1046 VERSION=        SunOS Development
1047 PATCHID=        $(VERSION)
1048 RELEASE_DATE=   release date not set
1049 PATCH_DATE=     $(RELEASE_DATE)
1050 RELEASE_CM=     "@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
1051 DEV_CM=         "@($(POUND_SIGN))SunOS Internal Development: non-nightly build"

1052 
1053 PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
1054 $(RELEASE_BUILD)PROCESS_COMMENT=   @?${MCS} -d -a $(RELEASE_CM)
1055 
1056 STRIP_STABS=                       $(STRIP) -x $@
1057 $(SRCDBGBLD)STRIP_STABS=           :
1058 
1059 POST_PROCESS_O=
1060 POST_PROCESS_S_O=
1061 POST_PROCESS_CC_O=
1062 POST_PROCESS_A=
1063 POST_PROCESS_SO=        $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
1064                         $(ELFSIGN_OBJECT)
1065 POST_PROCESS=           $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
1066                         $(ELFSIGN_OBJECT)
1067 
1068 #
1069 # chk4ubin is a tool that inspects a module for a symbol table
1070 # ELF section size which can trigger an OBP bug on older platforms.
1071 # This problem affects only specific sun4u bootable modules.




1032 #       RELEASE         Specific release of the build, eg: 5.2
1033 #       RELEASE_MAJOR   Major version number part of $(RELEASE)
1034 #       RELEASE_MINOR   Minor version number part of $(RELEASE)
1035 #       VERSION         Version of the build (alpha, beta, Generic)
1036 #       PATCHID         If this is a patch this value should contain
1037 #                       the patchid value (eg: "Generic 100832-01"), otherwise
1038 #                       it will be set to $(VERSION)
1039 #       RELEASE_DATE    Date of the Release Build
1040 #       PATCH_DATE      Date the patch was created, if this is blank it
1041 #                       will default to the RELEASE_DATE
1042 #
1043 RELEASE_MAJOR=  5
1044 RELEASE_MINOR=  11
1045 RELEASE=        $(RELEASE_MAJOR).$(RELEASE_MINOR)
1046 VERSION=        SunOS Development
1047 PATCHID=        $(VERSION)
1048 RELEASE_DATE=   release date not set
1049 PATCH_DATE=     $(RELEASE_DATE)
1050 RELEASE_CM=     "@($(POUND_SIGN))SunOS $(RELEASE) $(PATCHID) $(PATCH_DATE)"
1051 DEV_CM=         "@($(POUND_SIGN))SunOS Internal Development: non-nightly build"
1052 UTS_LABEL=      $(RELEASE)
1053 
1054 PROCESS_COMMENT=  @?${MCS} -d -a $(RELEASE_CM) -a $(DEV_CM)
1055 $(RELEASE_BUILD)PROCESS_COMMENT=   @?${MCS} -d -a $(RELEASE_CM)
1056 
1057 STRIP_STABS=                       $(STRIP) -x $@
1058 $(SRCDBGBLD)STRIP_STABS=           :
1059 
1060 POST_PROCESS_O=
1061 POST_PROCESS_S_O=
1062 POST_PROCESS_CC_O=
1063 POST_PROCESS_A=
1064 POST_PROCESS_SO=        $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
1065                         $(ELFSIGN_OBJECT)
1066 POST_PROCESS=           $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
1067                         $(ELFSIGN_OBJECT)
1068 
1069 #
1070 # chk4ubin is a tool that inspects a module for a symbol table
1071 # ELF section size which can trigger an OBP bug on older platforms.
1072 # This problem affects only specific sun4u bootable modules.