bnxe: suppress set but not used warnings
[unleashed.git] / kernel / drivers / net / bnxe / Makefile
blob3f02d44a610c5cea30bf10871f8bbabe39db19f0
1 MODULE= bnxe
2 MODULE_TYPE= drv
3 MODULE_DEPS= drv/ip \
4 misc/mac
5 MODULE_CONF= bnxe.conf
6 SRCS= 577xx/common/bnxe_clc.c \
7 577xx/drivers/common/ecore/ecore_sp_verbs.c \
8 577xx/drivers/common/lm/device/bnxe_context.c \
9 577xx/drivers/common/lm/device/bnxe_hw_debug.c \
10 577xx/drivers/common/lm/device/lm_dcbx.c \
11 577xx/drivers/common/lm/device/lm_dcbx_mp.c \
12 577xx/drivers/common/lm/device/lm_devinfo.c \
13 577xx/drivers/common/lm/device/lm_dmae.c \
14 577xx/drivers/common/lm/device/lm_er.c \
15 577xx/drivers/common/lm/device/lm_hw_access.c \
16 577xx/drivers/common/lm/device/lm_hw_attn.c \
17 577xx/drivers/common/lm/device/lm_hw_init_reset.c \
18 577xx/drivers/common/lm/device/lm_main.c \
19 577xx/drivers/common/lm/device/lm_mcp.c \
20 577xx/drivers/common/lm/device/lm_niv.c \
21 577xx/drivers/common/lm/device/lm_nvram.c \
22 577xx/drivers/common/lm/device/lm_phy.c \
23 577xx/drivers/common/lm/device/lm_power.c \
24 577xx/drivers/common/lm/device/lm_recv.c \
25 577xx/drivers/common/lm/device/lm_resc.c \
26 577xx/drivers/common/lm/device/lm_sb.c \
27 577xx/drivers/common/lm/device/lm_send.c \
28 577xx/drivers/common/lm/device/lm_sp.c \
29 577xx/drivers/common/lm/device/lm_sp_req_mgr.c \
30 577xx/drivers/common/lm/device/lm_stats.c \
31 577xx/drivers/common/lm/device/lm_util.c \
32 577xx/drivers/common/lm/fw/57710_init_values.c \
33 577xx/drivers/common/lm/fw/57711_init_values.c \
34 577xx/drivers/common/lm/fw/57712_init_values.c \
35 577xx/drivers/common/lm/fw/bnxe_fw_funcs.c \
36 577xx/drivers/common/lm/l4/lm_l4fp.c \
37 577xx/drivers/common/lm/l4/lm_l4rx.c \
38 577xx/drivers/common/lm/l4/lm_l4sp.c \
39 577xx/drivers/common/lm/l4/lm_l4tx.c \
40 577xx/drivers/common/lm/l5/lm_l5.c \
41 577xx/drivers/common/lm/l5/lm_l5sp.c \
42 bnxe_cfg.c \
43 bnxe_debug.c \
44 bnxe_fcoe.c \
45 bnxe_gld.c \
46 bnxe_hw.c \
47 bnxe_illumos.c \
48 bnxe_intr.c \
49 bnxe_kstat.c \
50 bnxe_lock.c \
51 bnxe_main.c \
52 bnxe_mm.c \
53 bnxe_mm_l4.c \
54 bnxe_mm_l5.c \
55 bnxe_rr.c \
56 bnxe_rx.c \
57 bnxe_timer.c \
58 bnxe_tx.c \
59 bnxe_workq.c
60 INCS= ${.CURDIR}/577xx/include \
61 ${.CURDIR}/577xx/drivers/common/ecore \
62 ${.CURDIR}/577xx/drivers/common/include \
63 ${.CURDIR}/577xx/drivers/common/include/l4 \
64 ${.CURDIR}/577xx/drivers/common/include/l5 \
65 ${.CURDIR}/577xx/drivers/common/lm/device \
66 ${.CURDIR}/577xx/drivers/common/lm/fw \
67 ${.CURDIR}/577xx/drivers/common/lm/include \
68 ${.CURDIR}/577xx/drivers/common/lm/l4 \
69 ${.CURDIR}/577xx/drivers/common/lm/l4/include \
70 ${.CURDIR}/577xx/drivers/common/lm/l5 \
71 ${.CURDIR}/577xx/drivers/common/lm/l5/include \
72 ${.CURDIR}/577xx/hsi/hw/include \
73 ${.CURDIR}/577xx/hsi/mcp
74 DEFS= -DLM_RXPKT_NON_CONTIGUOUS \
75 -DELINK_ENHANCEMENTS \
76 -DELINK_57711E_SUPPORT \
77 -DELINK_DEBUG \
78 -D__inline= \
79 -D_inline= \
80 -D__BASENAME__=\"bnxe\" \
81 -D__SunOS \
82 -D__S11 \
83 -DILLUMOS \
84 -DLITTLE_ENDIAN \
85 -DLITTLE_ENDIAN_HOST \
86 -D__LITTLE_ENDIAN
87 # TODO: on sparc, define BIG_ENDIAN, BIG_ENDIAN_HOST, and __BIG_ENDIAN
89 CERRWARN = -Wno-unused-function
90 CERRWARN += -Wno-unused-value
91 CERRWARN += -Wno-unused-variable
92 CERRWARN += -Wno-unused-but-set-variable
93 CERRWARN += -Wno-switch
94 CERRWARN += -Wno-uninitialized
95 CERRWARN += -Wno-parentheses
97 .include <kmod.mk>