提交 fa97c04c 编写于 作者: Z zhang

feat:add hdf component

Signed-off-by: Nzhang <zhangfengxi@huawei.com>
上级 2d2794b0
......@@ -14,16 +14,10 @@ build_ext_component("wpa_supplicant-2.9") {
arch_cflags += " --target=$target_triple"
command = "sh build.sh ${outdir} ${ohos_build_compiler} ${ohos_build_ndk} ${ohos_build_type} ${clang_dir} ${ohos_kernel_type} ${sysroot_path} \"${arch_cflags}\""
exec_path = rebase_path(".", root_build_dir)
deps = [
"//drivers/adapter/uhdf/manager:hdf_core",
"//drivers/peripheral/wlan/client:hdi_wifi",
]
deps = [ "//drivers/peripheral/wlan/client:wifi_driver_client" ]
}
lite_component("wpa_supplicant") {
deps = [
":wpa_supplicant-2.9",
"//drivers/adapter/uhdf/manager:hdf_core",
]
deps = [ ":wpa_supplicant-2.9" ]
features = []
}
......@@ -24,8 +24,8 @@ endif
#TEST_AP = testap
#TEST_WPA = testwpa
WPA_LDFLAGS = -L$(DEPDIR) -lhdf_core -lhdf_osal -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client
TEST_LDFLAGS = -L./ -lwpa -L$(DEPDIR) -lhdf_core -lhdf_osal -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client
WPA_LDFLAGS = -L$(DEPDIR) -lhdf_core -lhdf_posix_osal.z -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client
TEST_LDFLAGS = -L./ -lwpa -L$(DEPDIR) -lhdf_core -lhdf_posix_osal.z -lsec_shared -lrt -lm -lpthread -lhilog_shared -lwifi_driver_client
WPA_SHARED = libwpa.so
WPA_STATIC = libwpa.a
......
......@@ -52,7 +52,7 @@ CFLAGS += -I$(abspath ../build/include)
CFLAGS += -shared -fPIC
CFLAGS += -fstack-protector-all
CFLAGS += -DUSERSPACE_CLIENT_SUPPORT
LIBS += -L$(DEPDIR) -lhdf_core -lhdf_osal -lsec_shared -lhilog_shared -lwifi_driver_client
LIBS += -L$(DEPDIR) -lhdf_core -lhdf_posix_osal.z -lsec_shared -lhilog_shared -lwifi_driver_client
export BINDIR ?= /usr/local/bin/
......
......@@ -64,7 +64,7 @@ CFLAGS += -I$(abspath ../build/include)
CFLAGS += -shared -fPIC
CFLAGS += -DUSERSPACE_CLIENT_SUPPORT
CFLAGS += -fstack-protector-all
LIBS += -L$(DEPDIR) -lhdf_core -lhdf_osal -lsec_shared -lhilog_shared -lwifi_driver_client
LIBS += -L$(DEPDIR) -lhdf_core -lhdf_posix_osal.z -lsec_shared -lhilog_shared -lwifi_driver_client
-include .config
ifeq ($(COMPILER_TYPE), clang)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册