Skip to content

Commit

Permalink
* Split libraries and rename (#10009)
Browse files Browse the repository at this point in the history
* Update qpg_sdk sha to new libraries
    * Update build files to use new libraries
  • Loading branch information
jimlyall-q authored Sep 29, 2021
1 parent a60039c commit 0242368
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 1 addition & 3 deletions third_party/openthread/platforms/qpg/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ source_set("libopenthread-qpg") {
]
include_dirs += [ "${openthread_root}/examples/apps" ]

libs = [
"${qpg_sdk_root}/${qpg_target_ic}/lib/libOpenThread_${qpg_target_ic}_mtd.a",
]
libs = [ "${qpg_sdk_root}/${qpg_target_ic}/lib/libOpenThreadQorvoGlue_${qpg_target_ic}_mtd.a" ]

public_deps = [
":openthread_core_config_qpg",
Expand Down
7 changes: 4 additions & 3 deletions third_party/qpg_sdk/qpg_sdk.gni
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ template("qpg_sdk") {
"${qpg_sdk_root}/${qpg_target_ic}/comps/qvCHIP/inc",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/config",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/include",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/Portable/GCC/ARM_CM3",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/portable/GCC/ARM_CM3",
"${qpg_sdk_root}/${qpg_target_ic}/comps/libmbedtls",
"${mbedtls_root}/repo/include",
"${openthread_root}/include",
Expand All @@ -69,7 +69,8 @@ template("qpg_sdk") {
lib_dirs = []

libs += [
"${qpg_sdk_root}/${qpg_target_ic}/lib/libCHIP_${qpg_target_ic}.a",
"${qpg_sdk_root}/${qpg_target_ic}/lib/libMatterQorvoGlue_${qpg_target_ic}_libbuild.a",
"${qpg_sdk_root}/${qpg_target_ic}/lib/libQorvoStack_${qpg_target_ic}.a",
"${qpg_sdk_root}/${qpg_target_ic}/lib/libmbedtls_alt_${qpg_target_ic}.a",
]

Expand Down Expand Up @@ -177,7 +178,6 @@ template("qpg_sdk") {
"${chip_root}/third_party/mbedtls/repo/library/x509write_crt.c",
"${chip_root}/third_party/mbedtls/repo/library/x509write_csr.c",
"${chip_root}/third_party/mbedtls/repo/library/xtea.c",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/Portable/GCC/ARM_CM3/portmacro.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/include/FreeRTOS.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/include/deprecated_definitions.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/include/list.h",
Expand All @@ -189,6 +189,7 @@ template("qpg_sdk") {
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/include/stack_macros.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/include/task.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/include/timers.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/Source/portable/GCC/ARM_CM3/portmacro.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/config/FreeRTOSConfig.h",
"${qpg_sdk_root}/${qpg_target_ic}/comps/gpFreeRTOS/config/hooks.c",
"${qpg_sdk_root}/${qpg_target_ic}/comps/libmbedtls/${qpg_target_ic}-mbedtls-config.h",
Expand Down
2 changes: 1 addition & 1 deletion third_party/qpg_sdk/repo
Submodule repo updated from b9ba5a to 197eba

0 comments on commit 0242368

Please sign in to comment.