Makefile: keep using 'PLATFORM' variable for existing documentation

Signed-off-by: Tonny Tzeng tonny.tzeng@intel.com
This commit is contained in:
Tonny Tzeng 2018-05-17 16:44:11 +08:00 committed by lijinxia
parent 76cc3dd808
commit fc2b6fbe86
1 changed files with 4 additions and 4 deletions

View File

@ -1,8 +1,8 @@
# global helper variables # global helper variables
T := $(CURDIR) T := $(CURDIR)
PLAT := uefi PLATFORM ?= uefi
RELEASE := 0 RELEASE ?= 0
ROOT_OUT := $(T)/build ROOT_OUT := $(T)/build
HV_OUT := $(ROOT_OUT)/hypervisor HV_OUT := $(ROOT_OUT)/hypervisor
@ -13,8 +13,8 @@ TOOLS_OUT := $(ROOT_OUT)/tools
all: hypervisor devicemodel tools all: hypervisor devicemodel tools
hypervisor: hypervisor:
make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLAT) RELEASE=$(RELEASE) clean make -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) PLATFORM=$(PLATFORM) 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)
devicemodel: devicemodel:
make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) clean make -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) clean