[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221207192613.2098614-1-quic_carlv@quicinc.com>
Date: Wed, 7 Dec 2022 11:26:13 -0800
From: Carl Vanderlip <quic_carlv@...cinc.com>
To: Manivannan Sadhasivam <mani@...nel.org>,
Hemant Kumar <quic_hemantk@...cinc.com>
CC: Jeffrey Hugo <quic_jhugo@...cinc.com>,
Carl Vanderlip <quic_carlv@...cinc.com>, <mhi@...ts.linux.dev>,
<linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] mhi: Update Makefile to used Kconfig flags
Makefile was always suggesting to build subdirectories regardless of
Kconfig. Use the Kconfig flags as intended.
Signed-off-by: Carl Vanderlip <quic_carlv@...cinc.com>
---
drivers/bus/mhi/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/bus/mhi/Makefile b/drivers/bus/mhi/Makefile
index 46981331b38f..354204b0ef3a 100644
--- a/drivers/bus/mhi/Makefile
+++ b/drivers/bus/mhi/Makefile
@@ -1,5 +1,5 @@
# Host MHI stack
-obj-y += host/
+obj-$(CONFIG_MHI_BUS) += host/
# Endpoint MHI stack
-obj-y += ep/
+obj-$(CONFIG_MHI_BUS_EP) += ep/
--
2.25.1
Powered by blists - more mailing lists