1SubDir HAIKU_TOP src add-ons kernel drivers network ether marvell_yukon ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] 4 : true ; 5UsePrivateHeaders net system ; 6UsePrivateKernelHeaders ; 7 8SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ; 9 10UseHeaders [ FDirName $(SUBDIR) ] : true ; 11 12SEARCH_SOURCE += [ FDirName $(SUBDIR) dev mii ] ; 13SEARCH_SOURCE += [ FDirName $(SUBDIR) dev msk ] ; 14 15KernelAddon marvell_yukon : 16 glue.c 17 ukphy.c 18 ukphy_subr.c 19 e1000phy.c 20 if_msk.c 21 : libfreebsd_network.a 22 ; 23 24ObjectHdrs [ FGristFiles ukphy$(SUFOBJ) e1000phy$(SUFOBJ) ] 25 : [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ; 26Includes [ FGristFiles ukphy.c e1000phy.c ] : <src!libs!compat!freebsd_network>miidevs.h ; 27