xref: /haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/Jamfile (revision c90684742e7361651849be4116d0e5de3a817194)
1SubDir HAIKU_TOP src add-ons kernel drivers network wlan iprowifi2200 ;
2
3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ]
4	: true ;
5UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ;
6UsePrivateHeaders net system ;
7UsePrivateKernelHeaders ;
8
9# Enabling C++ structures in C only code
10Includes [ FGristFiles kernel_c++_structs.h ]
11	: <src!system!kernel>kernel_c++_struct_sizes.h ;
12
13SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ]
14	-Wno-format
15	-Wno-unused
16	-Wno-uninitialized
17	-Werror ;
18
19UseHeaders [ FDirName $(SUBDIR) ] : true ;
20
21SEARCH_SOURCE += [ FDirName $(SUBDIR) dev iwi ] ;
22
23KernelAddon iprowifi2200 :
24	if_iwi.c
25	glue.c
26	:
27	libfreebsd_wlan.a
28	libfreebsd_network.a
29	;
30
31# Note: Due to licensing restrictions, we can only distribute the archive.
32# The end-user must extract and install it themselves.
33HAIKU_WIFI_FIRMWARE_PACKAGE on iprowifi2200 = "" ;
34HAIKU_WIFI_FIRMWARE_ARCHIVE on iprowifi2200 = ipw2200-fw-3.1.tgz ;
35HAIKU_WIFI_FIRMWARE_DO_EXTRACT on iprowifi2200 = false ;
36