xref: /illumos-gate/usr/src/boot/Makefile.version (revision eef4f27b270242808b43b4b23bd161df52839361)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2016 Toomas Soome <tsoome@me.com>
14#
15
16#
17# The version string is composed according to IPS version string rules:
18#	dotted verstion strings are consisting of numbers and dots,
19#	different strings are separated by comma or dash,
20#	at the end of the dotted version can be timestamp, separated by
21#	the colon.
22#
23# The dotted version part are compared by numbers, timestamps are
24# compared lexicographically, as strings.
25#
26# Here we define two version strings, for loader and boot program.
27# The BOOT_VERSION is used by installboot program to decide if the
28# boot program update is needed, and should be updated according to
29# boot loader code updates.
30
31LOADER_VERSION = 1.1
32
33# Use date like formatting here, YYYY.MM.DD.XX, without leading zeroes.
34# The version is processed from left to right, the version number can only
35# be increased.
36BOOT_VERSION = $(LOADER_VERSION)-2019.02.16.1
37