-
Notifications
You must be signed in to change notification settings - Fork 119
/
Makefile
31 lines (27 loc) · 903 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
obj-m += mwlwifi.o
mwlwifi-objs += core.o
mwlwifi-objs += mac80211.o
mwlwifi-objs += mu_mimo.o
mwlwifi-objs += vendor_cmd.o
mwlwifi-objs += utils.o
mwlwifi-$(CONFIG_THERMAL) += thermal.o
mwlwifi-$(CONFIG_DEBUG_FS) += debugfs.o
mwlwifi-objs += hif/fwcmd.o
mwlwifi-objs += hif/pcie/pcie.o
mwlwifi-objs += hif/pcie/fwdl.o
mwlwifi-objs += hif/pcie/8864/tx.o
mwlwifi-objs += hif/pcie/8864/rx.o
mwlwifi-objs += hif/pcie/8997/tx.o
mwlwifi-objs += hif/pcie/8997/rx.o
mwlwifi-objs += hif/pcie/8964/tx_ndp.o
mwlwifi-objs += hif/pcie/8964/rx_ndp.o
ccflags-y += -I$(src)
ccflags-y += -O2 -funroll-loops -D__CHECK_ENDIAN__
all:
$(MAKE) -C $(KDIR) M=$(PWD)
clean:
rm -f *.a *.s *.ko *.ko.cmd *.mod.* .mwlwifi.* modules.order Module.symvers
rm -rf .tmp_versions
find . -name ".*.o.cmd" -exec rm -f {} \;
find . -name "*.o" -exec rm -f {} \;
find . -name "*.o.d" -exec rm -f {} \;