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:
Jack Ren 2018-05-23 19:24:29 +08:00
parent 3df0fbfefb
commit ac8b87505b
1 changed files with 2 additions and 2 deletions

View File

@ -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