提交 bdf34fee 编写于 作者: 徐杰

modify BUILD.gn and Makefile for wifi_driver_client

Signed-off-by: N徐杰 <xujie223@huawei.com>
上级 dd7642bd
...@@ -24,8 +24,8 @@ endif ...@@ -24,8 +24,8 @@ endif
#TEST_AP = testap #TEST_AP = testap
#TEST_WPA = testwpa #TEST_WPA = testwpa
WPA_LDFLAGS = -L$(DEPDIR) -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client WPA_LDFLAGS = -L$(DEPDIR) -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client.z
TEST_LDFLAGS = -L./ -lwpa -L$(DEPDIR) -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client TEST_LDFLAGS = -L./ -lwpa -L$(DEPDIR) -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client.z
WPA_SHARED = libwpa.so WPA_SHARED = libwpa.so
WPA_STATIC = libwpa.a WPA_STATIC = libwpa.a
......
...@@ -51,7 +51,7 @@ CFLAGS += -I$(abspath ../build/include) ...@@ -51,7 +51,7 @@ CFLAGS += -I$(abspath ../build/include)
CFLAGS += -shared -fPIC CFLAGS += -shared -fPIC
CFLAGS += -fstack-protector-all CFLAGS += -fstack-protector-all
CFLAGS += -DUSERSPACE_CLIENT_SUPPORT CFLAGS += -DUSERSPACE_CLIENT_SUPPORT
LIBS += -L$(DEPDIR) -lsec_shared -lhilog_shared -lwifi_driver_client LIBS += -L$(DEPDIR) -lsec_shared -lhilog_shared -lwifi_driver_client.z
export BINDIR ?= /usr/local/bin/ export BINDIR ?= /usr/local/bin/
......
...@@ -63,7 +63,7 @@ CFLAGS += -I$(abspath ../build/include) ...@@ -63,7 +63,7 @@ CFLAGS += -I$(abspath ../build/include)
CFLAGS += -shared -fPIC CFLAGS += -shared -fPIC
CFLAGS += -DUSERSPACE_CLIENT_SUPPORT CFLAGS += -DUSERSPACE_CLIENT_SUPPORT
CFLAGS += -fstack-protector-all CFLAGS += -fstack-protector-all
LIBS += -L$(DEPDIR) -lsec_shared -lhilog_shared -lwifi_driver_client LIBS += -L$(DEPDIR) -lsec_shared -lhilog_shared -lwifi_driver_client.z
-include .config -include .config
ifeq ($(COMPILER_TYPE), clang) ifeq ($(COMPILER_TYPE), clang)
......
...@@ -114,7 +114,7 @@ ohos_shared_library("wpa_client") { ...@@ -114,7 +114,7 @@ ohos_shared_library("wpa_client") {
} }
external_deps = [ external_deps = [
"hiviewdfx_hilog_native:libhilog", "hilog:libhilog",
"init:libbegetutil", "init:libbegetutil",
] ]
if ("${CONFIG_DRIVER}" == "nl80211") { if ("${CONFIG_DRIVER}" == "nl80211") {
...@@ -157,7 +157,7 @@ ohos_shared_library("wpa_client_updater") { ...@@ -157,7 +157,7 @@ ohos_shared_library("wpa_client_updater") {
} }
external_deps = [ external_deps = [
"hiviewdfx_hilog_native:libhilog", "hilog:libhilog",
"init:libbegetutil", "init:libbegetutil",
] ]
...@@ -427,13 +427,13 @@ ohos_shared_library("wpa") { ...@@ -427,13 +427,13 @@ ohos_shared_library("wpa") {
] ]
deps = [ deps = [
"//drivers/peripheral/wlan/client:wifi_driver_client",
"//third_party/bounds_checking_function:libsec_static", "//third_party/bounds_checking_function:libsec_static",
"//third_party/openssl:libcrypto_shared", "//third_party/openssl:libcrypto_shared",
"//third_party/openssl:libssl_shared", "//third_party/openssl:libssl_shared",
] ]
external_deps = [ external_deps = [
"hiviewdfx_hilog_native:libhilog", "drivers_peripheral_wlan:wifi_driver_client",
"hilog:libhilog",
"init:libbegetutil", "init:libbegetutil",
] ]
...@@ -573,14 +573,14 @@ ohos_shared_library("wpa_updater") { ...@@ -573,14 +573,14 @@ ohos_shared_library("wpa_updater") {
] ]
deps = [ deps = [
"//drivers/peripheral/wlan/client:wifi_driver_client",
"//third_party/bounds_checking_function:libsec_static", "//third_party/bounds_checking_function:libsec_static",
"//third_party/openssl:libcrypto_shared", "//third_party/openssl:libcrypto_shared",
"//third_party/openssl:libssl_shared", "//third_party/openssl:libssl_shared",
] ]
external_deps = [ external_deps = [
"hiviewdfx_hilog_native:libhilog", "drivers_peripheral_wlan:wifi_driver_client",
"hilog:libhilog",
"init:libbegetutil", "init:libbegetutil",
] ]
...@@ -707,7 +707,7 @@ ohos_executable("wpa_cli") { ...@@ -707,7 +707,7 @@ ohos_executable("wpa_cli") {
} }
external_deps = [ external_deps = [
"hiviewdfx_hilog_native:libhilog", "hilog:libhilog",
"init:libbegetutil", "init:libbegetutil",
] ]
...@@ -780,7 +780,7 @@ ohos_executable("hostapd_cli") { ...@@ -780,7 +780,7 @@ ohos_executable("hostapd_cli") {
} }
external_deps = [ external_deps = [
"hiviewdfx_hilog_native:libhilog", "hilog:libhilog",
"init:libbegetutil", "init:libbegetutil",
] ]
if ("${CONFIG_DRIVER}" == "nl80211") { if ("${CONFIG_DRIVER}" == "nl80211") {
......
...@@ -18,11 +18,14 @@ ...@@ -18,11 +18,14 @@
"subsystem": "wpa_supplicant-2.9", "subsystem": "wpa_supplicant-2.9",
"syscap": [], "syscap": [],
"features": [], "features": [],
"adapted_system_type": [], "adapted_system_type": ["small","standard"],
"rom": "2.1MB", "rom": "2.1MB",
"ram": "4.6MB", "ram": "4.6MB",
"deps": { "deps": {
"components": [ "components": [
"certificate_manager",
"drivers_peripheral_wlan",
"hilog",
"init" "init"
], ],
"third_party": [ "third_party": [
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册