aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bus
diff options
context:
space:
mode:
authorCarl Vanderlip <quic_carlv@quicinc.com>2022-12-07 11:26:13 -0800
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>2023-01-27 12:30:53 +0530
commit1501da7696b23c9a211aca732801156b90d3e4ba (patch)
treeaae89cfd00d2406da62bb4d51afbcd5bec40a8b5 /drivers/bus
parent1b929c02afd37871d5afb9d498426f83432e71c2 (diff)
downloadlinux-1501da7696b23c9a211aca732801156b90d3e4ba.tar.gz
bus: 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@quicinc.com> Reviewed-by: Manivannan Sadhasivam <mani@kernel.org> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://lore.kernel.org/r/20221207192613.2098614-1-quic_carlv@quicinc.com [mani: fixed the subject prefix] Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Diffstat (limited to 'drivers/bus')
-rw-r--r--drivers/bus/mhi/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bus/mhi/Makefile b/drivers/bus/mhi/Makefile
index 46981331b38fe..354204b0ef3ae 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/