alexl / rpms / kernel-automotive

Forked from rpms/kernel-automotive 2 years ago
Clone

Blame SOURCES/Makefile.rhelver

6bca4c
RHEL_MAJOR = 9
6bca4c
RHEL_MINOR = 0
6bca4c
6bca4c
#
6bca4c
# RHEL_RELEASE
6bca4c
# -------------
6bca4c
#
6bca4c
# Represents build number in 'release' part of RPM's name-version-release.
6bca4c
#   name is <package_name>, e.g. kernel
6bca4c
#   version is upstream kernel version this kernel is based on, e.g. 4.18.0
6bca4c
#   release is <RHEL_RELEASE>.<dist_tag>[<buildid>], e.g. 100.el8
6bca4c
#
6bca4c
# Use this spot to avoid future merge conflicts.
6bca4c
# Do not trim this comment.
08bedb
RHEL_RELEASE = 60
6c70bf
6c70bf
#
6c70bf
# Automotive Release
6c70bf
#
6c70bf
# Use this spot to avoid future merge conflicts.
6c70bf
# Do not trim this comment.
08bedb
AUTOMOTIVEBUILD:=.26
6bca4c
6bca4c
#
6bca4c
# Early y+1 numbering
6bca4c
# --------------------
6bca4c
#
6bca4c
# In early y+1 process, RHEL_RELEASE consists of 2 numbers: x.y
6bca4c
# First is RHEL_RELEASE inherited/merged from y as-is, second number
6bca4c
# is incremented with each build starting from 1. After merge from y,
6bca4c
# it resets back to 1. This way y+1 nvr reflects status of last merge.
6bca4c
#
6bca4c
# Example:
6bca4c
#
6bca4c
# rhel8.0                        rhel-8.1
6bca4c
#   kernel-4.18.0-58.el8   -->     kernel-4.18.0-58.1.el8
6bca4c
#                                  kernel-4.18.0-58.2.el8
6bca4c
#   kernel-4.18.0-59.el8           kernel-4.18.0-59.1.el8
6bca4c
#   kernel-4.18.0-60.el8
6bca4c
#   kernel-4.18.0-61.el8   -->     kernel-4.18.0-61.1.el8
6bca4c
#
6bca4c
#
6bca4c
# Use this spot to avoid future merge conflicts.
6bca4c
# Do not trim this comment.
6bca4c
EARLY_YSTREAM ?= no
6bca4c
EARLY_YBUILD:=
6bca4c
EARLY_YRELEASE:=
6bca4c
ifneq ("$(ZSTREAM)", "yes")
6bca4c
  ifeq ("$(EARLY_YSTREAM)","yes")
6bca4c
    RHEL_RELEASE:=$(RHEL_RELEASE).$(EARLY_YRELEASE)
6bca4c
  endif
6bca4c
endif
6bca4c
08bedb
RTBUILD:=.61