xref: /linux/drivers/net/ethernet/cavium/liquidio/Makefile (revision 111fc64a237f231bc2d3187bdf8358eb7966e6a9)
1f21fb3edSRaghu Vatsavayi#
2f21fb3edSRaghu Vatsavayi# Cavium Liquidio ethernet device driver
3f21fb3edSRaghu Vatsavayi#
4f21fb3edSRaghu Vatsavayiobj-$(CONFIG_LIQUIDIO) += liquidio.o
5f21fb3edSRaghu Vatsavayi
632581245SRaghu Vatsavayiliquidio-$(CONFIG_LIQUIDIO) += lio_ethtool.o \
732581245SRaghu Vatsavayi			lio_core.o         \
8f21fb3edSRaghu Vatsavayi			request_manager.o  \
9f21fb3edSRaghu Vatsavayi			response_manager.o \
10f21fb3edSRaghu Vatsavayi			octeon_device.o    \
11f21fb3edSRaghu Vatsavayi			cn66xx_device.o    \
12f21fb3edSRaghu Vatsavayi			cn68xx_device.o    \
1372c00912SRaghu Vatsavayi			cn23xx_pf_device.o \
148c978d05SRaghu Vatsavayi			octeon_mailbox.o   \
15f21fb3edSRaghu Vatsavayi			octeon_mem_ops.o   \
16f21fb3edSRaghu Vatsavayi			octeon_droq.o      \
17f21fb3edSRaghu Vatsavayi			octeon_nic.o
1832581245SRaghu Vatsavayi
1932581245SRaghu Vatsavayiliquidio-objs := lio_main.o octeon_console.o $(liquidio-y)
20*111fc64aSRaghu Vatsavayi
21*111fc64aSRaghu Vatsavayiobj-$(CONFIG_LIQUIDIO_VF) += liquidio_vf.o
22*111fc64aSRaghu Vatsavayi
23*111fc64aSRaghu Vatsavayiifeq ($(CONFIG_LIQUIDIO)$(CONFIG_LIQUIDIO_VF), yy)
24*111fc64aSRaghu Vatsavayi	liquidio_vf-objs := lio_vf_main.o
25*111fc64aSRaghu Vatsavayielse
26*111fc64aSRaghu Vatsavayiliquidio_vf-$(CONFIG_LIQUIDIO_VF) += lio_ethtool.o \
27*111fc64aSRaghu Vatsavayi			lio_core.o         \
28*111fc64aSRaghu Vatsavayi			request_manager.o  \
29*111fc64aSRaghu Vatsavayi			response_manager.o \
30*111fc64aSRaghu Vatsavayi			octeon_device.o    \
31*111fc64aSRaghu Vatsavayi			cn66xx_device.o    \
32*111fc64aSRaghu Vatsavayi			cn68xx_device.o    \
33*111fc64aSRaghu Vatsavayi			cn23xx_pf_device.o \
34*111fc64aSRaghu Vatsavayi			octeon_mailbox.o   \
35*111fc64aSRaghu Vatsavayi			octeon_mem_ops.o   \
36*111fc64aSRaghu Vatsavayi			octeon_droq.o      \
37*111fc64aSRaghu Vatsavayi			octeon_nic.o
38*111fc64aSRaghu Vatsavayi
39*111fc64aSRaghu Vatsavayiliquidio_vf-objs := lio_vf_main.o $(liquidio_vf-y)
40*111fc64aSRaghu Vatsavayiendif
41