-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.mak
executable file
·64 lines (50 loc) · 1.79 KB
/
config.mak
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
KVERSION="`uname -r`"
#DRVPATH=/lib/modules/$(KVERSION)/kernel/drivers/net/wireless/ssv6200
DRVPATH=kernel/drivers/net/wireless/ssv6200
KCFLAG += -Werror
#EXTRA_CFLAGS := -I$(KBUILD_TOP) -I$(KBUILD_TOP)/include
EXTRA_CFLAGS := -I$(KBUILD_TOP)
EXTRA_CFLAGS += -I$(KBUILD_TOP)/include
include $(KBUILD_TOP)/config_common.mak
ccflags-y += -DREPORT_TX_STATUS_DIRECTLY
########################################################
## The following definition move from common mak
# use for debug
ccflags-y += -DCONFIG_IRQ_DEBUG_COUNT
ccflags-y += -DCONFIG_SSV6XXX_DEBUGFS
#### end of move from common mak
## Use crypto in SSV driver for ssv6051
#ccflags-y += -DMULTI_THREAD_ENCRYPT
#ccflags-y += -DKTHREAD_BIND
#ccflags-y += -DUSE_LOCAL_CRYPTO
#ccflags-y += -DUSE_LOCAL_WEP_CRYPTO
#ccflags-y += -DUSE_LOCAL_TKIP_CRYPTO
#ccflags-y += -DUSE_LOCAL_CCMP_CRYPTO
#ccflags-y += -DUSE_LOCAL_SMS4_CRYPTO
#ccflags-y += -DCONFIG_SSV_WAPI
#ccflags-y += -DHAS_CRYPTO_LOCK
#ccflags-y += -DFW_WSID_WATCH_LIST
#endif
###########################################################
# option to :qswitch driver between relay device and sw mac device
# Enable ->Relay device (CHAR)
# Disable->SW MAC device(NET)
#DRV_OPT = HUW_DRV
#For HUW to define some resources
ifeq ($(DRV_OPT), HUW_DRV)
ccflags-y += -DHUW_DRV
endif
#
####################################################################
# mac80211 option for use local ssv_mac80211 or kernel mac80211
# if set SSV means our smac driver use local ssv_mac80211.ko
# otherwise use kernel mac80211 build-in sub-sys
####################################################################
#MAC80211_OPT = SSV
#For HUW to define some resources
ifeq ($(MAC80211_OPT), SSV)
EXTRA_CFLAGS += -I$(KBUILD_TOP)/mac80211
EXTRA_CFLAGS += -I$(KBUILD_TOP)/mac80211/include
ccflags-y += -DSSV_MAC80211
endif
#