Makefile (398B)
1# SPDX-License-Identifier: GPL-2.0 2CFLAGS_trace.o := -I$(src) 3 4obj-$(CONFIG_TYPEC_UCSI) += typec_ucsi.o 5 6typec_ucsi-y := ucsi.o 7 8typec_ucsi-$(CONFIG_TRACING) += trace.o 9 10ifneq ($(CONFIG_POWER_SUPPLY),) 11 typec_ucsi-y += psy.o 12endif 13 14ifneq ($(CONFIG_TYPEC_DP_ALTMODE),) 15 typec_ucsi-y += displayport.o 16endif 17 18obj-$(CONFIG_UCSI_ACPI) += ucsi_acpi.o 19obj-$(CONFIG_UCSI_CCG) += ucsi_ccg.o