qpnp_pdphy.o module must exist for CONFIG_QPNP_USB_PDPHY, CONFIG_USB_PD_POLICY or CONFIG_USB_PD_ENGINE. The primary hole filled in this fixup is the CONFIG_USB_PD_ENGINE configuration would not result in a module, since it is orthogonal to CONFIG_USB_PD_POLICY. Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 145919068 Test: compile and check instantiation differences at runtime Change-Id: I73d71338669f6f5f78cd40cc13fd8058caeaf514
12 lines
376 B
Makefile
12 lines
376 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Makefile for USB Power Delivery drivers
|
|
#
|
|
|
|
obj-$(CONFIG_USB_PD_POLICY) += qpnp_pdphy.o
|
|
obj-$(CONFIG_USB_PD_ENGINE) += qpnp_pdphy.o
|
|
obj-$(CONFIG_QPNP_USB_PDPHY) += qpnp_pdphy.o
|
|
qpnp_pdphy-$(CONFIG_USB_PD_POLICY) += policy_engine.o
|
|
qpnp_pdphy-$(CONFIG_USB_PD_ENGINE) += pd_engine.o
|
|
qpnp_pdphy-$(CONFIG_QPNP_USB_PDPHY) += qpnp-pdphy.o
|