forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/aquantia/atlantic/Makefile
....@@ -1,33 +1,14 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 ################################################################################
23 #
34 # aQuantia Ethernet Controller AQtion Linux Driver
45 # Copyright(c) 2014-2017 aQuantia Corporation.
56 #
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
-#
247 ################################################################################
258
26
-#
27
-# Makefile for the AQtion(tm) Ethernet driver
28
-#
29
-
309 obj-$(CONFIG_AQTION) += atlantic.o
10
+
11
+ccflags-y += -I$(srctree)/$(src)
3112
3213 atlantic-objs := aq_main.o \
3314 aq_nic.o \
....@@ -36,8 +17,20 @@
3617 aq_ring.o \
3718 aq_hw_utils.o \
3819 aq_ethtool.o \
20
+ aq_drvinfo.o \
21
+ aq_filters.o \
22
+ aq_phy.o \
3923 hw_atl/hw_atl_a0.o \
4024 hw_atl/hw_atl_b0.o \
4125 hw_atl/hw_atl_utils.o \
4226 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