Makefile (10a558374f3751cf4eb55143008975641dfc2cf4) | Makefile (f605005a50fc1443a14b4e8c9c1727881f8f96ae) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# 3# Cavium Liquidio ethernet device driver 4# | 1# SPDX-License-Identifier: GPL-2.0 2# 3# Cavium Liquidio ethernet device driver 4# |
5obj-$(CONFIG_LIQUIDIO) += liquidio.o | |
6 | 5 |
7liquidio-$(CONFIG_LIQUIDIO) += lio_ethtool.o \ 8 lio_core.o \ 9 request_manager.o \ 10 response_manager.o \ 11 octeon_device.o \ 12 cn66xx_device.o \ 13 cn68xx_device.o \ 14 cn23xx_pf_device.o \ 15 cn23xx_vf_device.o \ 16 octeon_mailbox.o \ 17 octeon_mem_ops.o \ 18 octeon_droq.o \ 19 octeon_nic.o | 6common-objs := lio_ethtool.o \ 7 lio_core.o \ 8 request_manager.o \ 9 response_manager.o \ 10 octeon_device.o \ 11 cn66xx_device.o \ 12 cn68xx_device.o \ 13 cn23xx_pf_device.o \ 14 cn23xx_vf_device.o \ 15 octeon_mailbox.o \ 16 octeon_mem_ops.o \ 17 octeon_droq.o \ 18 octeon_nic.o |
20 | 19 |
21liquidio-objs := lio_main.o octeon_console.o lio_vf_rep.o $(liquidio-y) | 20obj-$(CONFIG_LIQUIDIO) += liquidio.o 21liquidio-y := lio_main.o octeon_console.o lio_vf_rep.o $(common-objs) |
22 23obj-$(CONFIG_LIQUIDIO_VF) += liquidio_vf.o | 22 23obj-$(CONFIG_LIQUIDIO_VF) += liquidio_vf.o |
24 25ifeq ($(CONFIG_LIQUIDIO)$(CONFIG_LIQUIDIO_VF), yy) 26 liquidio_vf-objs := lio_vf_main.o 27else 28liquidio_vf-$(CONFIG_LIQUIDIO_VF) += lio_ethtool.o \ 29 lio_core.o \ 30 request_manager.o \ 31 response_manager.o \ 32 octeon_device.o \ 33 cn66xx_device.o \ 34 cn68xx_device.o \ 35 cn23xx_pf_device.o \ 36 cn23xx_vf_device.o \ 37 octeon_mailbox.o \ 38 octeon_mem_ops.o \ 39 octeon_droq.o \ 40 octeon_nic.o 41 42liquidio_vf-objs := lio_vf_main.o $(liquidio_vf-y) 43endif | 24liquidio_vf-y := lio_vf_main.o $(common-objs) |