xref: /linux/drivers/net/wireless/ath/ath12k/Makefile (revision 40ccd6aa3e2e05be93394e3cd560c718dedfcc77)
1# SPDX-License-Identifier: BSD-3-Clause-Clear
2obj-$(CONFIG_ATH12K) += ath12k.o
3ath12k-y += core.o \
4	    hal.o \
5	    hal_tx.o \
6	    hal_rx.o \
7	    wmi.o \
8	    mac.o \
9	    reg.o \
10	    htc.o \
11	    qmi.o \
12	    dp.o  \
13	    dp_tx.o \
14	    dp_rx.o \
15	    debug.o \
16	    ce.o \
17	    peer.o \
18	    dbring.o \
19	    hw.o \
20	    mhi.o \
21	    pci.o \
22	    dp_mon.o \
23	    fw.o \
24	    p2p.o
25
26ath12k-$(CONFIG_ATH12K_DEBUGFS) += debugfs.o
27ath12k-$(CONFIG_ACPI) += acpi.o
28ath12k-$(CONFIG_ATH12K_TRACING) += trace.o
29
30# for tracing framework to find trace.h
31CFLAGS_trace.o := -I$(src)
32