mirror of
https://github.com/openharmony/device_board_openvalley.git
synced 2026-07-01 00:47:54 -04:00
更新静态库编译脚本及OAT.xml文件
Signed-off-by: fangye <fangye@talkweb.com.cn> Change-Id: Ia8a1f13b968c4d5f9032f471a402fa63fca93e78
This commit is contained in:
@@ -62,8 +62,8 @@
|
||||
</filefilter>
|
||||
<filefilter name="binaryFileTypePolicyFilter" desc="Filters for binaryFile" >
|
||||
<filteritem type="filename" name="*.png" desc="all so file have check "/>
|
||||
<filteritem type="filepath" name="niobeu4/liteos_m/target/target_startup.o" desc=""/>
|
||||
<filteritem type="filepath" name="niobeu4/liteos_m/target/lib/libtarget_startup.a" desc=""/>
|
||||
</filefilter>
|
||||
</filefilterlist>
|
||||
</oatconfig>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
||||
@@ -22,13 +22,19 @@ kernel_module(module_name) {
|
||||
"//vendor/openvalley/niobeu4/demo:demo",
|
||||
]
|
||||
}
|
||||
|
||||
use_local_libaray = true
|
||||
lite_library("target_startup") {
|
||||
target_type = "static_library"
|
||||
sources = []
|
||||
deps = [
|
||||
":copy_target_startup"
|
||||
]
|
||||
if(use_local_libaray == true) {
|
||||
sources = []
|
||||
deps = [
|
||||
":copy_target_startup"
|
||||
]
|
||||
} else {
|
||||
sources = [
|
||||
"src/target_startup.c",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
build_ext_component("copy_target_startup") {
|
||||
@@ -37,8 +43,6 @@ build_ext_component("copy_target_startup") {
|
||||
command = "cp lib/libtarget_startup.a $out_root_path/libs/libtarget_startup.a"
|
||||
}
|
||||
|
||||
|
||||
|
||||
config("public") {
|
||||
ESP_SDK_PATH="//device/soc/esp/esp32/components/"
|
||||
include_dirs = [
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user