rdc: Clean up Jamfiles.

This commit is contained in:
Augustin Cavalier 2018-12-27 13:45:55 -05:00
parent cb5334b37b
commit df1dd1f8a8
5 changed files with 23 additions and 40 deletions

View File

@ -1,3 +1,25 @@
SubDir HAIKU_TOP src add-ons kernel drivers network rdc ;
SubInclude HAIKU_TOP src add-ons kernel drivers network rdc 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 vte ] ;
KernelAddon rdc :
glue.c
rdcphy.c
if_vte.c
: libfreebsd_network.a
;
ObjectHdrs [ FGristFiles rdcphy$(SUFOBJ) ]
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH)) libs
compat freebsd_network ] ;
Includes [ FGristFiles rdcphy.c ] : <src!libs!compat!freebsd_network>miidevs.h ;

View File

@ -1,5 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network rdc dev ;
SubInclude HAIKU_TOP src add-ons kernel drivers network rdc dev mii ;
SubInclude HAIKU_TOP src add-ons kernel drivers network rdc dev vte ;

View File

@ -1,19 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network rdc 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 rdc_mii.a
:
rdcphy.c
;
ObjectHdrs [ FGristFiles rdcphy$(SUFOBJ) ]
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH)) libs
compat freebsd_network ] ;
Includes [ FGristFiles rdcphy.c ] : <src!libs!compat!freebsd_network>miidevs.h ;

View File

@ -1,15 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network rdc dev vte ;
UseHeaders [ FDirName $(SUBDIR) .. .. ] : true ;
UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] : true ;
UsePrivateHeaders net system ;
UsePrivateKernelHeaders ;
SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ;
KernelAddon rdc :
if_vte.c
glue.c
: rdc_mii.a libfreebsd_network.a
;