Skip to content

Commit ac8b875

Browse files
committed
acrn: allow to specify the build output folder
Usages: make O=<any folder> Signed-off-by: Jack Ren <jack.ren@intel.com>
1 parent 3df0fbf commit ac8b875

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ T := $(CURDIR)
44
PLATFORM ?= uefi
55
RELEASE ?= 0
66

7-
BUILD_DIR := build
8-
ROOT_OUT := $(T)/$(BUILD_DIR)
7+
O ?= build
8+
ROOT_OUT := $(shell mkdir -p $(O);cd $(O);pwd)
99
HV_OUT := $(ROOT_OUT)/hypervisor
1010
DM_OUT := $(ROOT_OUT)/devicemodel
1111
TOOLS_OUT := $(ROOT_OUT)/tools

0 commit comments

Comments
 (0)