acrn: allow to specify the build output folder
Usages: make O=<any folder> Signed-off-by: Jack Ren <jack.ren@intel.com>
This commit is contained in:
parent
3df0fbfefb
commit
ac8b87505b
4
Makefile
4
Makefile
|
@ -4,8 +4,8 @@ T := $(CURDIR)
|
||||||
PLATFORM ?= uefi
|
PLATFORM ?= uefi
|
||||||
RELEASE ?= 0
|
RELEASE ?= 0
|
||||||
|
|
||||||
BUILD_DIR := build
|
O ?= build
|
||||||
ROOT_OUT := $(T)/$(BUILD_DIR)
|
ROOT_OUT := $(shell mkdir -p $(O);cd $(O);pwd)
|
||||||
HV_OUT := $(ROOT_OUT)/hypervisor
|
HV_OUT := $(ROOT_OUT)/hypervisor
|
||||||
DM_OUT := $(ROOT_OUT)/devicemodel
|
DM_OUT := $(ROOT_OUT)/devicemodel
|
||||||
TOOLS_OUT := $(ROOT_OUT)/tools
|
TOOLS_OUT := $(ROOT_OUT)/tools
|
||||||
|
|
Loading…
Reference in New Issue