xref: /illumos-gate/usr/src/boot/Makefile.version (revision fae4f9e0b50e2f5af5fce78f508f8669dc2b1e48)
104a6e8dcSToomas Soome#
204a6e8dcSToomas Soome# This file and its contents are supplied under the terms of the
304a6e8dcSToomas Soome# Common Development and Distribution License ("CDDL"), version 1.0.
404a6e8dcSToomas Soome# You may only use this file in accordance with the terms of version
504a6e8dcSToomas Soome# 1.0 of the CDDL.
604a6e8dcSToomas Soome#
704a6e8dcSToomas Soome# A full copy of the text of the CDDL should have accompanied this
804a6e8dcSToomas Soome# source.  A copy of the CDDL is also available via the Internet at
904a6e8dcSToomas Soome# http://www.illumos.org/license/CDDL.
1004a6e8dcSToomas Soome#
1104a6e8dcSToomas Soome
1204a6e8dcSToomas Soome#
1304a6e8dcSToomas Soome# Copyright 2016 Toomas Soome <tsoome@me.com>
1404a6e8dcSToomas Soome#
1504a6e8dcSToomas Soome
1604a6e8dcSToomas Soome#
1704a6e8dcSToomas Soome# The version string is composed according to IPS version string rules:
1804a6e8dcSToomas Soome#	dotted verstion strings are consisting of numbers and dots,
1904a6e8dcSToomas Soome#	different strings are separated by comma or dash,
2004a6e8dcSToomas Soome#	at the end of the dotted version can be timestamp, separated by
2104a6e8dcSToomas Soome#	the colon.
2204a6e8dcSToomas Soome#
2304a6e8dcSToomas Soome# The dotted version part are compared by numbers, timestamps are
2404a6e8dcSToomas Soome# compared lexicographically, as strings.
2504a6e8dcSToomas Soome#
2604a6e8dcSToomas Soome# Here we define two version strings, for loader and boot program.
2704a6e8dcSToomas Soome# The BOOT_VERSION is used by installboot program to decide if the
2804a6e8dcSToomas Soome# boot program update is needed, and should be updated according to
2904a6e8dcSToomas Soome# boot loader code updates.
3004a6e8dcSToomas Soome
3104a6e8dcSToomas SoomeLOADER_VERSION = 1.1
32*fae4f9e0SToomas Soome
33*fae4f9e0SToomas Soome# Use date like formatting here, YYYY.MM.DD.XX, without leading zeroes.
34*fae4f9e0SToomas Soome# The version is processed from left to right, the version number can only
35*fae4f9e0SToomas Soome# be increased.
36*fae4f9e0SToomas SoomeBOOT_VERSION = $(LOADER_VERSION)-2017.3.14.1
37