forked from ghotiv/rtlwifi_new
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
40 lines (30 loc) · 780 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
32
33
34
35
36
37
38
39
CC = gcc
KVER := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
PWD := $(shell pwd)
EXTRA_CFLAGS += -O2
#EXTRA_CFLAGS += -DRTK_FW_HDR
####################################################
obj-m := btcoexist.o
BT_COEXIST_OBJS:= \
halbtc8192e2ant.o\
halbtc8723b1ant.o\
halbtc8723b2ant.o\
halbtc8821a1ant.o\
halbtc8821a2ant.o\
halbtcoutsrc.o \
rtl_btc.o \
####################################################
btcoexist-objs += $(BT_COEXIST_OBJS)
default:
$(MAKE) -C $(KSRC) M=$(PWD) modules
.PHONY:clean
clean:
rm -fr *.mod.c *.mod *.o .*.cmd *.ko *~
rm -fr .tmp_versions
rm -fr Modules.symvers
rm -fr Module.symvers
rm -fr Module.markers
rm -fr modules.order
rm -fr tags