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