1# Copyright 2006 The Android Open Source Project 2 3ifdef WIFI_DRIVER_MODULE_PATH 4LOCAL_CFLAGS += -DWIFI_DRIVER_MODULE_PATH=\"$(WIFI_DRIVER_MODULE_PATH)\" 5endif 6ifdef WIFI_DRIVER_MODULE_ARG 7LOCAL_CFLAGS += -DWIFI_DRIVER_MODULE_ARG=\"$(WIFI_DRIVER_MODULE_ARG)\" 8endif 9ifdef WIFI_DRIVER_MODULE_NAME 10LOCAL_CFLAGS += -DWIFI_DRIVER_MODULE_NAME=\"$(WIFI_DRIVER_MODULE_NAME)\" 11endif 12ifdef WIFI_FIRMWARE_LOADER 13LOCAL_CFLAGS += -DWIFI_FIRMWARE_LOADER=\"$(WIFI_FIRMWARE_LOADER)\" 14endif 15ifdef WIFI_DRIVER_FW_PATH_STA 16LOCAL_CFLAGS += -DWIFI_DRIVER_FW_PATH_STA=\"$(WIFI_DRIVER_FW_PATH_STA)\" 17endif 18ifdef WIFI_DRIVER_FW_PATH_AP 19LOCAL_CFLAGS += -DWIFI_DRIVER_FW_PATH_AP=\"$(WIFI_DRIVER_FW_PATH_AP)\" 20endif 21ifdef WIFI_DRIVER_FW_PATH_P2P 22LOCAL_CFLAGS += -DWIFI_DRIVER_FW_PATH_P2P=\"$(WIFI_DRIVER_FW_PATH_P2P)\" 23endif 24ifdef WIFI_DRIVER_FW_PATH_PARAM 25LOCAL_CFLAGS += -DWIFI_DRIVER_FW_PATH_PARAM=\"$(WIFI_DRIVER_FW_PATH_PARAM)\" 26endif 27 28LOCAL_SRC_FILES += wifi/wifi.c 29 30ifdef WPA_SUPPLICANT_VERSION 31LOCAL_CFLAGS += -DLIBWPA_CLIENT_EXISTS 32LOCAL_SHARED_LIBRARIES += libwpa_client 33endif 34LOCAL_SHARED_LIBRARIES += libnetutils 35