xref: /linux/drivers/misc/mei/Makefile (revision 06d07429858317ded2db7986113a9e0129cd599b)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2ffc2825cSGreg Kroah-Hartman#
31e55b609STomas Winkler# Copyright (c) 2010-2019, Intel Corporation. All rights reserved.
4ffc2825cSGreg Kroah-Hartman# Makefile - Intel Management Engine Interface (Intel MEI) Linux driver
5ffc2825cSGreg Kroah-Hartman#
6ffc2825cSGreg Kroah-Hartmanobj-$(CONFIG_INTEL_MEI) += mei.o
7ffc2825cSGreg Kroah-Hartmanmei-objs := init.o
8bb1b0133STomas Winklermei-objs += hbm.o
9ffc2825cSGreg Kroah-Hartmanmei-objs += interrupt.o
10827eef51STomas Winklermei-objs += client.o
11ffc2825cSGreg Kroah-Hartmanmei-objs += main.o
12ce0925e8STomas Winklermei-objs += dma-ring.o
13e5354107SSamuel Ortizmei-objs += bus.o
14a0a785c4STomas Winklermei-objs += bus-fixup.o
1530e53bb8STomas Winklermei-$(CONFIG_DEBUG_FS) += debugfs.o
1640e0b67bSTomas Winkler
1740e0b67bSTomas Winklerobj-$(CONFIG_INTEL_MEI_ME) += mei-me.o
1840e0b67bSTomas Winklermei-me-objs := pci-me.o
1940e0b67bSTomas Winklermei-me-objs += hw-me.o
2092ab5130STomas Winkler
21a98c30fdSTomas Winklerobj-$(CONFIG_INTEL_MEI_GSC) += mei-gsc.o
22a98c30fdSTomas Winklermei-gsc-objs := gsc-me.o
23a98c30fdSTomas Winkler
2492ab5130STomas Winklerobj-$(CONFIG_INTEL_MEI_TXE) += mei-txe.o
2592ab5130STomas Winklermei-txe-objs := pci-txe.o
2692ab5130STomas Winklermei-txe-objs += hw-txe.o
27a0a927d0STomas Winkler
28a0a927d0STomas Winklermei-$(CONFIG_EVENT_TRACING) += mei-trace.o
29a0a927d0STomas WinklerCFLAGS_mei-trace.o = -I$(src)
3064e9bbddSRamalingam C
3164e9bbddSRamalingam Cobj-$(CONFIG_INTEL_MEI_HDCP) += hdcp/
32c2004ce9SVitaly Lubartobj-$(CONFIG_INTEL_MEI_PXP) += pxp/
331dd924f6SAlexander Usyskinobj-$(CONFIG_INTEL_MEI_GSC_PROXY) += gsc_proxy/
34566f5ca9SWentong Wu
35566f5ca9SWentong Wuobj-$(CONFIG_INTEL_MEI_VSC_HW) += mei-vsc-hw.o
36566f5ca9SWentong Wumei-vsc-hw-y := vsc-tp.o
37566f5ca9SWentong Wumei-vsc-hw-y += vsc-fw-loader.o
38*386a766cSWentong Wu
39*386a766cSWentong Wuobj-$(CONFIG_INTEL_MEI_VSC) += mei-vsc.o
40*386a766cSWentong Wumei-vsc-y := platform-vsc.o
41