From bab8fadfee64f440f420c3de64702bdd0787ef32 Mon Sep 17 00:00:00 2001 From: Yin Fengwei Date: Fri, 22 Jun 2018 14:56:53 +0800 Subject: [PATCH] hv: Makefile flags initialization For hypervisor, we initliaze the flags used in build command to empty to avoid flags set in default env impact to hypervisor build. Signed-off-by: Yin Fengwei Acked-by: VanCutsem Geoffroy Acked-by: Eddie Dong --- hypervisor/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hypervisor/Makefile b/hypervisor/Makefile index 9826f8b57..dc701b7b6 100644 --- a/hypervisor/Makefile +++ b/hypervisor/Makefile @@ -19,6 +19,15 @@ BASEDIR := $(shell pwd) HV_OBJDIR ?= $(CURDIR)/build HV_FILE := acrn +# initialize the flags we used +CFLAGS := +ASFLAGS := +LDFLAGS := +ARCH_CFLAGS := +ARCH_ASFLAGS := +ARCH_ARFLAGS := +ARCH_LDFLAGS := + .PHONY: default default: all