Android: Sync Android.mk with recent Makefile changes
This commit is contained in:
parent
ea08bfe384
commit
67e838fd0c
1 changed files with 37 additions and 7 deletions
|
@ -174,7 +174,7 @@ endif
|
||||||
|
|
||||||
ifdef CONFIG_TDLS
|
ifdef CONFIG_TDLS
|
||||||
L_CFLAGS += -DCONFIG_TDLS
|
L_CFLAGS += -DCONFIG_TDLS
|
||||||
OBJS += src/rsn_supp/tdls.o
|
OBJS += src/rsn_supp/tdls.c
|
||||||
NEED_SHA256=y
|
NEED_SHA256=y
|
||||||
NEED_AES_OMAC1=y
|
NEED_AES_OMAC1=y
|
||||||
endif
|
endif
|
||||||
|
@ -218,12 +218,20 @@ OBJS += src/p2p/p2p_dev_disc.c
|
||||||
OBJS += src/p2p/p2p_group.c
|
OBJS += src/p2p/p2p_group.c
|
||||||
OBJS += src/ap/p2p_hostapd.c
|
OBJS += src/ap/p2p_hostapd.c
|
||||||
L_CFLAGS += -DCONFIG_P2P
|
L_CFLAGS += -DCONFIG_P2P
|
||||||
|
NEED_GAS=y
|
||||||
|
NEED_OFFCHANNEL=y
|
||||||
NEED_80211_COMMON=y
|
NEED_80211_COMMON=y
|
||||||
ifdef CONFIG_P2P_STRICT
|
ifdef CONFIG_P2P_STRICT
|
||||||
L_CFLAGS += -DCONFIG_P2P_STRICT
|
L_CFLAGS += -DCONFIG_P2P_STRICT
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_INTERWORKING
|
||||||
|
OBJS += interworking.c
|
||||||
|
L_CFLAGS += -DCONFIG_INTERWORKING
|
||||||
|
NEED_GAS=y
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_NO_WPA2
|
ifdef CONFIG_NO_WPA2
|
||||||
L_CFLAGS += -DCONFIG_NO_WPA2
|
L_CFLAGS += -DCONFIG_NO_WPA2
|
||||||
endif
|
endif
|
||||||
|
@ -688,8 +696,10 @@ OBJS += src/ap/ap_mlme.c
|
||||||
OBJS += src/ap/ieee802_1x.c
|
OBJS += src/ap/ieee802_1x.c
|
||||||
OBJS += src/eapol_auth/eapol_auth_sm.c
|
OBJS += src/eapol_auth/eapol_auth_sm.c
|
||||||
OBJS += src/ap/ieee802_11_auth.c
|
OBJS += src/ap/ieee802_11_auth.c
|
||||||
|
OBJS += src/ap/ieee802_11_shared.c
|
||||||
OBJS += src/ap/drv_callbacks.c
|
OBJS += src/ap/drv_callbacks.c
|
||||||
OBJS += src/ap/ap_drv_ops.c
|
OBJS += src/ap/ap_drv_ops.c
|
||||||
|
OBJS += src/ap/beacon.c
|
||||||
ifdef CONFIG_IEEE80211N
|
ifdef CONFIG_IEEE80211N
|
||||||
OBJS += src/ap/ieee802_11_ht.c
|
OBJS += src/ap/ieee802_11_ht.c
|
||||||
endif
|
endif
|
||||||
|
@ -707,7 +717,6 @@ L_CFLAGS += -DCONFIG_IEEE80211N
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef NEED_AP_MLME
|
ifdef NEED_AP_MLME
|
||||||
OBJS += src/ap/beacon.c
|
|
||||||
OBJS += src/ap/wmm.c
|
OBJS += src/ap/wmm.c
|
||||||
OBJS += src/ap/ap_list.c
|
OBJS += src/ap/ap_list.c
|
||||||
OBJS += src/ap/ieee802_11.c
|
OBJS += src/ap/ieee802_11.c
|
||||||
|
@ -791,6 +800,7 @@ endif
|
||||||
|
|
||||||
ifdef NEED_MILENAGE
|
ifdef NEED_MILENAGE
|
||||||
OBJS += src/crypto/milenage.c
|
OBJS += src/crypto/milenage.c
|
||||||
|
NEED_AES_ENCBLOCK=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_PKCS12
|
ifdef CONFIG_PKCS12
|
||||||
|
@ -823,6 +833,10 @@ ifndef CONFIG_TLS
|
||||||
CONFIG_TLS=openssl
|
CONFIG_TLS=openssl
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef CONFIG_TLSV11
|
||||||
|
L_CFLAGS += -DCONFIG_TLSV11
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_TLS), openssl)
|
ifeq ($(CONFIG_TLS), openssl)
|
||||||
ifdef TLS_FUNCS
|
ifdef TLS_FUNCS
|
||||||
L_CFLAGS += -DEAP_TLS_OPENSSL
|
L_CFLAGS += -DEAP_TLS_OPENSSL
|
||||||
|
@ -842,10 +856,6 @@ ifeq ($(CONFIG_TLS), gnutls)
|
||||||
ifdef TLS_FUNCS
|
ifdef TLS_FUNCS
|
||||||
OBJS += src/crypto/tls_gnutls.c
|
OBJS += src/crypto/tls_gnutls.c
|
||||||
LIBS += -lgnutls -lgpg-error
|
LIBS += -lgnutls -lgpg-error
|
||||||
ifdef CONFIG_GNUTLS_EXTRA
|
|
||||||
L_CFLAGS += -DCONFIG_GNUTLS_EXTRA
|
|
||||||
LIBS += -lgnutls-extra
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
OBJS += src/crypto/crypto_gnutls.c
|
OBJS += src/crypto/crypto_gnutls.c
|
||||||
OBJS_p += src/crypto/crypto_gnutls.c
|
OBJS_p += src/crypto/crypto_gnutls.c
|
||||||
|
@ -1044,7 +1054,9 @@ ifdef NEED_FIPS186_2_PRF
|
||||||
SHA1OBJS += src/crypto/fips_prf_internal.c
|
SHA1OBJS += src/crypto/fips_prf_internal.c
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
ifndef CONFIG_NO_WPA_PASSPHRASE
|
ifdef CONFIG_NO_WPA_PASSPHRASE
|
||||||
|
L_CFLAGS += -DCONFIG_NO_PBKDF2
|
||||||
|
else
|
||||||
SHA1OBJS += src/crypto/sha1-pbkdf2.c
|
SHA1OBJS += src/crypto/sha1-pbkdf2.c
|
||||||
endif
|
endif
|
||||||
ifdef NEED_T_PRF
|
ifdef NEED_T_PRF
|
||||||
|
@ -1142,6 +1154,9 @@ DBUS_OBJS += dbus/dbus_old.c dbus/dbus_old_handlers.c
|
||||||
ifdef CONFIG_WPS
|
ifdef CONFIG_WPS
|
||||||
DBUS_OBJS += dbus/dbus_old_handlers_wps.c
|
DBUS_OBJS += dbus/dbus_old_handlers_wps.c
|
||||||
endif
|
endif
|
||||||
|
ifdef CONFIG_P2P
|
||||||
|
DBUS_OBJS += dbus/dbus_new_handlers_p2p.c
|
||||||
|
endif
|
||||||
DBUS_OBJS += dbus/dbus_dict_helpers.c
|
DBUS_OBJS += dbus/dbus_dict_helpers.c
|
||||||
ifndef DBUS_LIBS
|
ifndef DBUS_LIBS
|
||||||
DBUS_LIBS := $(shell $(PKG_CONFIG) --libs dbus-1)
|
DBUS_LIBS := $(shell $(PKG_CONFIG) --libs dbus-1)
|
||||||
|
@ -1261,6 +1276,9 @@ endif
|
||||||
|
|
||||||
ifdef CONFIG_DEBUG_SYSLOG
|
ifdef CONFIG_DEBUG_SYSLOG
|
||||||
L_CFLAGS += -DCONFIG_DEBUG_SYSLOG
|
L_CFLAGS += -DCONFIG_DEBUG_SYSLOG
|
||||||
|
ifdef CONFIG_DEBUG_SYSLOG_FACILITY
|
||||||
|
L_CFLAGS += -DLOG_HOSTAPD="$(CONFIG_DEBUG_SYSLOG_FACILITY)"
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_DEBUG_FILE
|
ifdef CONFIG_DEBUG_FILE
|
||||||
|
@ -1296,6 +1314,18 @@ L_CFLAGS += -DCONFIG_BGSCAN
|
||||||
OBJS += bgscan.c
|
OBJS += bgscan.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef NEED_GAS
|
||||||
|
OBJS += ../src/common/gas.c
|
||||||
|
OBJS += gas_query.c
|
||||||
|
L_CFLAGS += -DCONFIG_GAS
|
||||||
|
NEED_OFFCHANNEL=y
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifdef NEED_OFFCHANNEL
|
||||||
|
OBJS += offchannel.c
|
||||||
|
L_CFLAGS += -DCONFIG_OFFCHANNEL
|
||||||
|
endif
|
||||||
|
|
||||||
OBJS_wpa_rm := ctrl_iface.c mlme.c ctrl_iface_unix.c
|
OBJS_wpa_rm := ctrl_iface.c mlme.c ctrl_iface_unix.c
|
||||||
OBJS_wpa := $(filter-out $(OBJS_wpa_rm),$(OBJS)) $(OBJS_h) tests/test_wpa.c
|
OBJS_wpa := $(filter-out $(OBJS_wpa_rm),$(OBJS)) $(OBJS_h) tests/test_wpa.c
|
||||||
ifdef CONFIG_AUTHENTICATOR
|
ifdef CONFIG_AUTHENTICATOR
|
||||||
|
|
Loading…
Reference in a new issue