From fc2b6fbe86e8e83ce39be4bc588cc77097dbd914 Mon Sep 17 00:00:00 2001 From: Tonny Tzeng Date: Thu, 17 May 2018 16:44:11 +0800 Subject: [PATCH] Makefile: keep using 'PLATFORM' variable for existing documentation Signed-off-by: Tonny Tzeng tonny.tzeng@intel.com --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1686859cf..938c01cd1 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ # global helper variables T := $(CURDIR) -PLAT := uefi -RELEASE := 0 +PLATFORM ?= uefi +RELEASE ?= 0 ROOT_OUT := $(T)/build HV_OUT := $(ROOT_OUT)/hypervisor @@ -13,8 +13,8 @@ TOOLS_OUT := $(ROOT_OUT)/tools all: hypervisor devicemodel tools hypervisor: - make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) clean - make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) + make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLATFORM) RELEASE=$(RELEASE) clean + make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLATFORM) RELEASE=$(RELEASE) devicemodel: make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) clean