[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20190402141123.97941-1-Zhongcheng.Lao@microsoft.com>
Date: Tue, 2 Apr 2019 22:11:22 +0800
From: Zhongcheng Lao <laozhongcheng@...il.com>
To: haiyangz@...rosoft.com
Cc: Zhongcheng Lao <Zhongcheng.Lao@...rosoft.com>,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Stephen Hemminger <sthemmin@...rosoft.com>,
Sasha Levin <sashal@...nel.org>, linux-hyperv@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Do not overwrite CFLAG passed into makefile
It is necessary to pass a custom value for KVP_SCRIPTS_PATH
because of the directory structure differences in Linux distros.
Current makefile does not allow this.
The patch fixes the issue.
Signed-off-by: Zhongcheng Lao <Zhongcheng.Lao@...rosoft.com>
---
tools/hv/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/hv/Makefile b/tools/hv/Makefile
index 5db5e62cebda..058c3dbb7824 100644
--- a/tools/hv/Makefile
+++ b/tools/hv/Makefile
@@ -2,7 +2,7 @@
# Makefile for Hyper-V tools
WARNINGS = -Wall -Wextra
-CFLAGS = $(WARNINGS) -g $(shell getconf LFS_CFLAGS)
+CFLAGS += $(WARNINGS) -g $(shell getconf LFS_CFLAGS)
CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
--
2.21.0
Powered by blists - more mailing lists