xref: /haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/Jamfile (revision 4a55cc230cf7566cadcbb23b1928eefff8aea9a2)
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
18UseHeaders [ FDirName $(SUBDIR) ] : true ;
19
20SEARCH_SOURCE += [ FDirName $(SUBDIR) dev iwi ] ;
21
22KernelAddon iprowifi2200 :
23	if_iwi.c
24	glue.c
25	:
26	freebsd_wlan.a
27	libfreebsd_network.a
28	;
29
30# Note: Due to licensing restrictions, we can only distribute the archive.
31# The end-user must extract and install it themselves.
32HAIKU_WIFI_FIRMWARE_ARCHIVE on iprowifi2200 = ipw2200-fw-3.1.tgz ;
33HAIKU_WIFI_FIRMWARE_DO_EXTRACT on iprowifi2200 = false ;
34