| .. | .. |
|---|
| 1 | +# SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | ################################################################################ |
|---|
| 2 | 3 | # |
|---|
| 3 | 4 | # aQuantia Ethernet Controller AQtion Linux Driver |
|---|
| 4 | 5 | # Copyright(c) 2014-2017 aQuantia Corporation. |
|---|
| 5 | 6 | # |
|---|
| 6 | | -# This program is free software; you can redistribute it and/or modify it |
|---|
| 7 | | -# under the terms and conditions of the GNU General Public License, |
|---|
| 8 | | -# version 2, as published by the Free Software Foundation. |
|---|
| 9 | | -# |
|---|
| 10 | | -# This program is distributed in the hope it will be useful, but WITHOUT |
|---|
| 11 | | -# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|---|
| 12 | | -# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for |
|---|
| 13 | | -# more details. |
|---|
| 14 | | -# |
|---|
| 15 | | -# You should have received a copy of the GNU General Public License along |
|---|
| 16 | | -# with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 17 | | -# |
|---|
| 18 | | -# The full GNU General Public License is included in this distribution in |
|---|
| 19 | | -# the file called "COPYING". |
|---|
| 20 | | -# |
|---|
| 21 | | -# Contact Information: <rdc-drv@aquantia.com> |
|---|
| 22 | | -# aQuantia Corporation, 105 E. Tasman Dr. San Jose, CA 95134, USA |
|---|
| 23 | | -# |
|---|
| 24 | 7 | ################################################################################ |
|---|
| 25 | 8 | |
|---|
| 26 | | -# |
|---|
| 27 | | -# Makefile for the AQtion(tm) Ethernet driver |
|---|
| 28 | | -# |
|---|
| 29 | | - |
|---|
| 30 | 9 | obj-$(CONFIG_AQTION) += atlantic.o |
|---|
| 10 | + |
|---|
| 11 | +ccflags-y += -I$(srctree)/$(src) |
|---|
| 31 | 12 | |
|---|
| 32 | 13 | atlantic-objs := aq_main.o \ |
|---|
| 33 | 14 | aq_nic.o \ |
|---|
| .. | .. |
|---|
| 36 | 17 | aq_ring.o \ |
|---|
| 37 | 18 | aq_hw_utils.o \ |
|---|
| 38 | 19 | aq_ethtool.o \ |
|---|
| 20 | + aq_drvinfo.o \ |
|---|
| 21 | + aq_filters.o \ |
|---|
| 22 | + aq_phy.o \ |
|---|
| 39 | 23 | hw_atl/hw_atl_a0.o \ |
|---|
| 40 | 24 | hw_atl/hw_atl_b0.o \ |
|---|
| 41 | 25 | hw_atl/hw_atl_utils.o \ |
|---|
| 42 | 26 | hw_atl/hw_atl_utils_fw2x.o \ |
|---|
| 43 | | - hw_atl/hw_atl_llh.o |
|---|
| 27 | + hw_atl/hw_atl_llh.o \ |
|---|
| 28 | + hw_atl2/hw_atl2.o \ |
|---|
| 29 | + hw_atl2/hw_atl2_utils.o \ |
|---|
| 30 | + hw_atl2/hw_atl2_utils_fw.o \ |
|---|
| 31 | + hw_atl2/hw_atl2_llh.o \ |
|---|
| 32 | + macsec/macsec_api.o |
|---|
| 33 | + |
|---|
| 34 | +atlantic-$(CONFIG_MACSEC) += aq_macsec.o |
|---|
| 35 | + |
|---|
| 36 | +atlantic-$(CONFIG_PTP_1588_CLOCK) += aq_ptp.o |
|---|