diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2013-12-09 20:23:28 +1100 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2013-12-09 20:23:28 +1100 |
commit | e086e9992c26bc23cd75dfad2239949c10da1fb1 (patch) | |
tree | 04e9cec89f6a8fb50c9056fc2d6634b56c5ade98 /Makefile.gen | |
parent | 5354659cf53571cd5500771f71b109d339cd3394 (diff) | |
download | SLOF-qemu-slof-20131209.zip SLOF-qemu-slof-20131209.tar.gz SLOF-qemu-slof-20131209.tar.bz2 |
use VERSION file to generate FW versionqemu-slof-20131209
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'Makefile.gen')
-rw-r--r-- | Makefile.gen | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.gen b/Makefile.gen index c9de86e..2fdf23f 100644 --- a/Makefile.gen +++ b/Makefile.gen @@ -24,10 +24,15 @@ else ifneq (,$(wildcard ../.git)) RELEASE=git-$(shell git rev-parse --short=16 HEAD) else +ifneq (,$(shell cat ../VERSION)) +RELEASE="$(USER)@$(HOSTNAME) release $(shell cat ../VERSION)" +export DRIVER_NAME=HEAD +else RELEASE="$(USER)@$(HOSTNAME)(private build)" export DRIVER_NAME=HEAD endif endif +endif DRVDATE=$(shell date +%Y-%h%d) |