eap_proxy: Extend Android.mk to support additional libraries
Allow addition static and shared libraries to be specified from the eap_proxy_*.mk file for Android build. In addition use $(LOCAL_PATH) as a prefix for that Android makefile part. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
50acc38469
commit
f7579502a6
1 changed files with 5 additions and 1 deletions
|
@ -504,7 +504,7 @@ endif
|
||||||
ifdef CONFIG_EAP_PROXY
|
ifdef CONFIG_EAP_PROXY
|
||||||
L_CFLAGS += -DCONFIG_EAP_PROXY
|
L_CFLAGS += -DCONFIG_EAP_PROXY
|
||||||
OBJS += src/eap_peer/eap_proxy_$(CONFIG_EAP_PROXY).c
|
OBJS += src/eap_peer/eap_proxy_$(CONFIG_EAP_PROXY).c
|
||||||
include eap_proxy_$(CONFIG_EAP_PROXY).mk
|
include $(LOCAL_PATH)/eap_proxy_$(CONFIG_EAP_PROXY).mk
|
||||||
CONFIG_IEEE8021X_EAPOL=y
|
CONFIG_IEEE8021X_EAPOL=y
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -1559,6 +1559,10 @@ ifneq ($(BOARD_WPA_SUPPLICANT_PRIVATE_LIB),)
|
||||||
LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
|
LOCAL_STATIC_LIBRARIES += $(BOARD_WPA_SUPPLICANT_PRIVATE_LIB)
|
||||||
endif
|
endif
|
||||||
LOCAL_SHARED_LIBRARIES := libc libcutils liblog
|
LOCAL_SHARED_LIBRARIES := libc libcutils liblog
|
||||||
|
ifdef CONFIG_EAP_PROXY
|
||||||
|
LOCAL_STATIC_LIBRARIES += $(LIB_STATIC_EAP_PROXY)
|
||||||
|
LOCAL_SHARED_LIBRARIES += $(LIB_SHARED_EAP_PROXY)
|
||||||
|
endif
|
||||||
ifeq ($(CONFIG_TLS), openssl)
|
ifeq ($(CONFIG_TLS), openssl)
|
||||||
LOCAL_SHARED_LIBRARIES += libcrypto libssl libkeystore_binder
|
LOCAL_SHARED_LIBRARIES += libcrypto libssl libkeystore_binder
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue