Skip to content

Commit f4f47ad

Browse files
committed
[QPG] Fix for OpenThread Stack bump compile issue
1 parent 1fecb91 commit f4f47ad

File tree

4 files changed

+32
-8
lines changed

4 files changed

+32
-8
lines changed

examples/light-switch-app/qpg/BUILD.gn

+8-2
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,15 @@ qpg_executable("light_switch_app") {
7474
]
7575

7676
if (chip_openthread_ftd) {
77-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-ftd" ]
77+
deps += [
78+
"${chip_root}/third_party/openthread/repo:libopenthread-ftd",
79+
"${chip_root}/third_party/openthread/repo:openthread_ftd_config",
80+
]
7881
} else {
79-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-mtd" ]
82+
deps += [
83+
"${chip_root}/third_party/openthread/repo:libopenthread-mtd",
84+
"${chip_root}/third_party/openthread/repo:openthread_mtd_config",
85+
]
8086
}
8187

8288
include_dirs = [

examples/lighting-app/qpg/BUILD.gn

+8-2
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,15 @@ qpg_executable("lighting_app") {
7878
]
7979

8080
if (chip_openthread_ftd) {
81-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-ftd" ]
81+
deps += [
82+
"${chip_root}/third_party/openthread/repo:libopenthread-ftd",
83+
"${chip_root}/third_party/openthread/repo:openthread_ftd_config",
84+
]
8285
} else {
83-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-mtd" ]
86+
deps += [
87+
"${chip_root}/third_party/openthread/repo:libopenthread-mtd",
88+
"${chip_root}/third_party/openthread/repo:openthread_mtd_config",
89+
]
8490
}
8591

8692
include_dirs = [

examples/lock-app/qpg/BUILD.gn

+8-2
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,15 @@ qpg_executable("lock_app") {
7575
]
7676

7777
if (chip_openthread_ftd) {
78-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-ftd" ]
78+
deps += [
79+
"${chip_root}/third_party/openthread/repo:libopenthread-ftd",
80+
"${chip_root}/third_party/openthread/repo:openthread_ftd_config",
81+
]
7982
} else {
80-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-mtd" ]
83+
deps += [
84+
"${chip_root}/third_party/openthread/repo:libopenthread-mtd",
85+
"${chip_root}/third_party/openthread/repo:openthread_mtd_config",
86+
]
8187
}
8288

8389
include_dirs = [

examples/thermostat/qpg/BUILD.gn

+8-2
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,15 @@ qpg_executable("thermostat") {
7373
]
7474

7575
if (chip_openthread_ftd) {
76-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-ftd" ]
76+
deps += [
77+
"${chip_root}/third_party/openthread/repo:libopenthread-ftd",
78+
"${chip_root}/third_party/openthread/repo:openthread_ftd_config",
79+
]
7780
} else {
78-
deps += [ "${chip_root}/third_party/openthread/repo:libopenthread-mtd" ]
81+
deps += [
82+
"${chip_root}/third_party/openthread/repo:libopenthread-mtd",
83+
"${chip_root}/third_party/openthread/repo:openthread_mtd_config",
84+
]
7985
}
8086

8187
include_dirs = [

0 commit comments

Comments
 (0)