broadcom570x: Clean up Jamfiles.

This commit is contained in:
Augustin Cavalier 2018-12-24 21:06:41 -05:00
parent 7f601aefb4
commit 9c8a78130b
5 changed files with 26 additions and 47 deletions

View File

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

View File

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

View File

@ -1,21 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network broadcom570x dev bge ;
UseHeaders [ FDirName $(SUBDIR) .. .. ] : true ;
UseHeaders [ FDirName $(SUBDIR) .. mii ] : true ;
UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] : true ;
UsePrivateHeaders net system ;
UsePrivateKernelHeaders ;
SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 _XOPEN_SOURCE ] ;
KernelAddon broadcom570x :
if_bge.c
glue.c
: broadcom570x_mii.a libfreebsd_network.a
;
ObjectHdrs [ FGristFiles if_bge$(SUFOBJ) ]
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH)) libs
compat freebsd_network ] ;
Includes [ FGristFiles if_bge.c ] : <src!libs!compat!freebsd_network>miidevs.h ;

View File

@ -1,21 +0,0 @@
SubDir HAIKU_TOP src add-ons kernel drivers network broadcom570x 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 _XOPEN_SOURCE ] ;
KernelStaticLibrary broadcom570x_mii.a
:
brgphy.c
ukphy.c
ukphy_subr.c
;
ObjectHdrs [ FGristFiles brgphy$(SUFOBJ) ]
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH)) libs
compat freebsd_network ] ;
Includes [ FGristFiles brgphy.c ] : <src!libs!compat!freebsd_network>miidevs.h ;