1

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>
This commit is contained in:
Carl Vanderlip 2022-12-07 11:26:13 -08:00 committed by Manivannan Sadhasivam
parent 1b929c02af
commit 1501da7696

View File

@ -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/