xref: /haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/Jamfile (revision 427edfcf0ddc74fc461c9355484d33fd4b027b70)
1SubDir HAIKU_TOP src add-ons kernel drivers network wlan ralinkwifi ;
2
3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd11_network compat ]
4	: true ;
5UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd11_wlan ] : true ;
6UsePrivateHeaders net system ;
7UsePrivateKernelHeaders ;
8
9SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ]
10	-Wno-format
11	-Wno-unused
12	-Wno-uninitialized ;
13
14UseHeaders [ FDirName $(SUBDIR) ] : true ;
15
16SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ral ] ;
17
18KernelAddon ralinkwifi :
19	if_ral_pci.c
20	rt2560.c
21	rt2661.c
22	rt2860.c
23	glue.c
24	:
25	libfreebsd11_wlan.a
26	libfreebsd11_network.a
27	;
28
29HAIKU_WIFI_FIRMWARE_PACKAGES on ralinkwifi = RT61_Firmware_V1.2
30	RT2860_Firmware_V26 ;
31HAIKU_WIFI_FIRMWARE_ARCHIVES on ralinkwifi = RT61_Firmware_V1.2.zip
32	RT2860_Firmware_V26.zip ;
33HAIKU_WIFI_FIRMWARE_DO_EXTRACT on ralinkwifi = true ;
34
35