Convert wpa_supplicant recipe to an actual recipe

Also adjust the patch to use the correct private Haiku headers.
This commit is contained in:
Ingo Weinhold
2013-04-22 22:24:36 +02:00
parent 7c245319d0
commit fd7e08593c
2 changed files with 37 additions and 14 deletions

View File

@@ -777,9 +777,9 @@ diff -urN wpa_supplicant-0.7.3/wpa_supplicant/.config wpa_supplicant-0.7.3-haiku
+LIBS += -L/boot/common/lib
+
+# for private Haiku headers
+CFLAGS += -I/Source/Haiku/trunk/src/libs/compat/freebsd_network/compat
+CFLAGS += -I/Source/Haiku/trunk/src/libs/compat/freebsd_wlan
+CFLAGS += -I/Source/Haiku/trunk/headers/private/net
+CFLAGS += -I/system/develop/headers/private/libs/compat/freebsd_network/compat
+CFLAGS += -I/system/develop/headers/private/libs/compat/freebsd_wlan
+CFLAGS += -I/system/develop/headers/private/net
+CFLAGS += -Wno-multichar
+
+# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)