-
Notifications
You must be signed in to change notification settings - Fork 109
/
Copy pathMakefile
44 lines (34 loc) · 803 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
40
41
42
43
44
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 := rtl8188ee.o
PCI_88EE_HAL_OBJS:= \
hw.o \
table.o \
sw.o \
trx.o \
led.o \
fw.o \
phy.o \
rf.o \
dm.o \
pwrseq.o \
pwrseqcmd.o \
####################################################
rtl8188ee-objs += $(PCI_88EE_HAL_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