diff options
author | Carl Vanderlip | 2022-12-07 11:26:13 -0800 |
---|---|---|
committer | Manivannan Sadhasivam | 2023-01-27 12:30:53 +0530 |
commit | 1501da7696b23c9a211aca732801156b90d3e4ba (patch) | |
tree | aae89cfd00d2406da62bb4d51afbcd5bec40a8b5 /drivers | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) |
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')
-rw-r--r-- | drivers/bus/mhi/Makefile | 4 |
1 files 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/ |