mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-17 06:49:25 +00:00
DM: add tag info while no repo in release
there is no git repo, which download from github release, however, acrn-dm -v will get tag info from this repo, in such case, the tag info was null. this patch will fix nul tag, which get it from CL mock build. Tracked-On: #676 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
4
Makefile
4
Makefile
@@ -11,6 +11,8 @@ DM_OUT := $(ROOT_OUT)/devicemodel
|
||||
TOOLS_OUT := $(ROOT_OUT)/tools
|
||||
MISC_OUT := $(ROOT_OUT)/misc
|
||||
DOC_OUT := $(ROOT_OUT)/doc
|
||||
BUILD_VERSION ?=
|
||||
BUILD_TAG ?=
|
||||
export TOOLS_OUT
|
||||
|
||||
.PHONY: all hypervisor devicemodel tools misc doc
|
||||
@@ -27,7 +29,7 @@ sbl-hypervisor:
|
||||
|
||||
devicemodel: tools
|
||||
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) clean
|
||||
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT)
|
||||
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) DM_BUILD_VERSION=$(BUILD_VERSION) DM_BUILD_TAG=$(BUILD_TAG)
|
||||
|
||||
tools:
|
||||
mkdir -p $(TOOLS_OUT)
|
||||
|
Reference in New Issue
Block a user