Developing lightweight computation at the DSG edge

Commit 756cf656 authored by Roger Pueyo Centelles's avatar Roger Pueyo Centelles
Browse files

[qmp-system] Use Git info to fill variables

parent fa31624f
......@@ -25,8 +25,13 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
BRANCH_GIT?=$(shell git rev-parse --abbrev-ref HEAD)
REV_GIT?=$(shell git rev-parse --short HEAD)
DATE_GIT?=$(shell git log -1 --format=%cd --date=format:%Y%m%d)
TIME_GIT?=$(shell git log -1 --format=%cd --date=format:%H%M)
QMP_RELEASE?=trunk
QMP_PKGRELEASE=r20171102-1
QMP_PKGRELEASE=r$(DATE_GIT)_$(TIME_GIT)
QMP_CODENAME?=Kalimotxo
QMP_BUILDDATE:=$(shell date +%Y%m%d-%H%M)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment