Restructuring the repository layout in response to ath5k.
[madwifi/.git] / BuildCaps.inc
1 #
2 # defaults
3 #
4 ifndef ATH_CAP_SUPERG_FF
5 export ATH_CAP_SUPERG_FF=1
6 endif
7
8 ifndef ATH_CAP_DYNTURBO
9 export ATH_CAP_DYNTURBO=1
10 endif
11
12 ifndef ATH_CAP_SUPERG_COMP
13 export ATH_CAP_SUPERG_COMP=0
14 endif
15
16 ifndef ATH_CAP_XR
17 export ATH_CAP_XR=1
18 endif
19
20 ifndef ATH_CAP_TPC
21 export ATH_CAP_TPC=1
22 endif
23
24 ifndef ATH_CAP_TX99
25 export ATH_CAP_TX99=0
26 endif
27
28 # WARNING: The use of these extensions may introduce a security risk (someone can peek/poke registers on your Atheros device)
29 ifndef ATH_REVERSE_ENGINEERING
30 export ATH_REVERSE_ENGINEERING=0
31 endif
32 ifndef ATH_REVERSE_ENGINEERING_WITH_NO_FEAR 
33 export ATH_REVERSE_ENGINEERING_WITH_NO_FEAR=0
34 endif
35
36 #
37 # directives
38 #
39 ifneq ($(strip $(ATH_CAP_SUPERG_FF)),0)
40 COPTS+= -DATH_SUPERG_FF=1
41 endif
42
43 ifneq ($(strip $(ATH_CAP_DYNTURBO)),0)
44 COPTS+= -DATH_SUPERG_DYNTURBO=1 -DATH_TURBO_SCAN=1
45 endif
46
47 ifneq ($(strip $(ATH_CAP_SUPERG_COMP)),0)
48 COPTS+= -DATH_SUPERG_COMP=1
49 endif
50
51 ifneq ($(strip $(ATH_CAP_XR)),0)
52 COPTS+= -DATH_SUPERG_XR=1
53 endif
54
55 ifneq ($(strip $(ATH_CAP_TPC)),0)
56 COPTS+= -DATH_CAP_TPC=1
57 endif
58
59 ifneq ($(strip $(ATH_CAP_TX99)),0)
60 COPTS+= -DATH_TX99_DIAG=1
61 endif
62
63 # WARNING: The use of these extensions may introduce a security risk (someone can peek/poke registers on your Atheros device)
64 ifneq ($(strip $(ATH_REVERSE_ENGINEERING)),0)
65 COPTS+= -DATH_REVERSE_ENGINEERING=1
66 endif
67 ifneq ($(strip $(ATH_REVERSE_ENGINEERING_WITH_NO_FEAR)),0)
68 COPTS+= -DATH_REVERSE_ENGINEERING_WITH_NO_FEAR=1 -DATH_REVERSE_ENGINEERING=1
69
70 endif