# Copyright (c) 2021-2022 Amlogic, Inc. All rights reserved.

# SPDX-License-Identifier: MIT

aml_library_sources_ifdef(
	CONFIG_ETHERNET
	eth.c
	eth_mbox.c
)

aml_library_sources_ifdef(
	CONFIG_ETHERNET_MAC
	mac_eqos.c
	pack_manager.c
)

aml_library_sources_ifdef(
	CONFIG_ETHERNET_PHY
	phy.c
)

aml_library_sources_ifdef(
	CONFIG_ETHERNET_INTERNAL_PHY
	phy_internal.c
)

aml_library_sources_ifdef(
	CONFIG_ETHERNET_EXTERNAL_PHY
	phy_external.c
)

aml_library_sources_ifdef(
	CONFIG_ETHERNET_MAGIC_PACKET
	magic_packet.c
)
