nforce: Clean up Jamfiles.

This commit is contained in:
Augustin Cavalier 2018-12-27 13:23:49 -05:00
parent 3fcac9ac04
commit 148d1b2c69
5 changed files with 25 additions and 42 deletions

View File

@ -1,3 +1,27 @@
SubDir HAIKU_TOP src add-ons kernel drivers network nforce ;
SubInclude HAIKU_TOP src add-ons kernel drivers network nforce dev ;
UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ]
: true ;
UsePrivateHeaders net system ;
UsePrivateKernelHeaders ;
SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ;
UseHeaders [ FDirName $(SUBDIR) ] : true ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) dev mii ] ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) dev nfe ] ;
KernelAddon nforce :
glue.c
ukphy.c
ukphy_subr.c
ciphy.c
if_nfe.c
: libfreebsd_network.a
;
ObjectHdrs [ FGristFiles ukphy$(SUFOBJ) ciphy$(SUFOBJ) ]
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH)) libs
compat freebsd_network ] ;
Includes [ FGristFiles ukphy.c ciphy.c ] : <src!libs!compat!freebsd_network>miidevs.h ;

View File

@ -1,4 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network nforce dev ;
SubInclude HAIKU_TOP src add-ons kernel drivers network nforce dev mii ;
SubInclude HAIKU_TOP src add-ons kernel drivers network nforce dev nfe ;

View File

@ -1,21 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network nforce dev mii ;
UseHeaders [ FDirName $(SUBDIR) .. .. ] : true ;
UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] : true ;
UsePrivateHeaders net ;
UsePrivateKernelHeaders ;
SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ;
KernelStaticLibrary nforce_mii.a
:
ciphy.c
ukphy.c
ukphy_subr.c
;
ObjectHdrs [ FGristFiles ciphy$(SUFOBJ) ]
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH)) libs
compat freebsd_network ] ;
Includes [ FGristFiles ciphy.c ] : <src!libs!compat!freebsd_network>miidevs.h ;

View File

@ -1,16 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network nforce dev nfe ;
UseHeaders [ FDirName $(SUBDIR) .. .. ] : true ;
UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] : true ;
UsePrivateHeaders net ;
UsePrivateKernelHeaders ;
SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ;
KernelAddon nforce :
if_nfe.c
glue.c
: nforce_mii.a libfreebsd_network.a
;