zkkkk12 commented on code in PR #21485:
URL: https://github.com/apache/nuttx/pull/21485#discussion_r4509276752
##########
drivers/net/Make.defs:
##########
@@ -125,6 +125,28 @@ endif
include net/oa_tc6/Make.defs
+ifeq ($(CONFIG_NET_PHYLIB),y)
+ CSRCS += phy_core.c phy_access.c phy_device.c
+ CSRCS += phy_gen.c
+ DEPPATH += --dep-path net/phy
+ VPATH += :net/phy
+ CFLAGS += ${INCDIR_PREFIX}$(TOPDIR)$(DELIM)drivers$(DELIM)net$(DELIM)phy
+
+ifeq ($(CONFIG_MDIO_CLAUSE_45),y)
+ CSRCS += phy_genc45.c
+endif
+
+ifeq ($(CONFIG_NET_PHY_REALTEK_RTL8221B),y)
+ CSRCS += realtek/rtl8221b.c realtek/rtl8221b_fw.c
Review Comment:
Thanks for review !Done, updated as suggested. Verified by building and
running on both the sim
and a real Infineon TC4 (AURIX) platform with CONFIG_NET_PHYLIB enabled —
builds clean and runs with no errors.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]