rtl8139: Clean up Jamfiles.

This commit is contained in:
Augustin Cavalier 2018-12-27 14:02:22 -05:00
parent 72d64e3cb1
commit 34b46b4548
5 changed files with 23 additions and 40 deletions

View File

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

View File

@ -1,4 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network rtl8139 dev ;
HaikuSubInclude mii ;
HaikuSubInclude rl ;

View File

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

View File

@ -1,16 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network rtl8139 dev rl ;
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 rtl8139 :
if_rl.c
glue.c
: rtl8139_mii.a libfreebsd_network.a
;