netmodule-linux distro conf: use git describe for distro version
Set distro version from git describe of project root. Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
parent
22640795f0
commit
e0533cb69d
|
|
@ -1,6 +1,8 @@
|
||||||
|
inherit += "externalgitsrc"
|
||||||
|
|
||||||
DISTRO = "netmodule-linux"
|
DISTRO = "netmodule-linux"
|
||||||
DISTRO_NAME = "NetModule Linux Distribution"
|
DISTRO_NAME = "NetModule Linux Distribution"
|
||||||
DISTRO_VERSION = "0.9.5"
|
DISTRO_VERSION = "${EXTERNALSRC_GIT_SRCREV}"
|
||||||
DISTRO_CODENAME = "sumo"
|
DISTRO_CODENAME = "sumo"
|
||||||
SDK_VENDOR = "-netmodule"
|
SDK_VENDOR = "-netmodule"
|
||||||
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
|
SDK_VERSION := "${@'${DISTRO_VERSION}'.replace('snapshot-${DATE}','snapshot')}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue