# SPDX-License-Identifier: GPL-2.0
# Copyright(c) 2015 - 2022 Netforward Corporation.

#
# Makefile for the Netforward(R) Ethernet Connection PS1600 (nce.ko) driver
#

ccflags-y += -I$(src)
subdir-ccflags-y += -I$(src)

obj-$(CONFIG_NCE) += nce.o

nce-objs := nce_main.o  \
        nce_ethtool.o   \
        nce_debugfs.o   \
        nce_interrupt.o \
        nce_txrx.o      \
        nce_common.o    \
        nce_switch.o    \
        nce_port.o      \
        soc_groot_allfield_name.o       \
        soc_groot_allfield_table.o

nce-objs += kcompat.o
