From ac8b87505b88908433f24046ff9ab617924f2ff6 Mon Sep 17 00:00:00 2001 From: Jack Ren Date: Wed, 23 May 2018 19:24:29 +0800 Subject: [PATCH] acrn: allow to specify the build output folder Usages: make O= Signed-off-by: Jack Ren --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9a7f352cc..3d7f25adb 100644 --- a/Makefile +++ b/Makefile @@ -4,8 +4,8 @@ T := $(CURDIR) PLATFORM ?= uefi RELEASE ?= 0 -BUILD_DIR := build -ROOT_OUT := $(T)/$(BUILD_DIR) +O ?= build +ROOT_OUT := $(shell mkdir -p $(O);cd $(O);pwd) HV_OUT := $(ROOT_OUT)/hypervisor DM_OUT := $(ROOT_OUT)/devicemodel TOOLS_OUT := $(ROOT_OUT)/tools