Skip to content

Commit

Permalink
[NXP] Fix Zephyr build produced by logging rework (#34205)
Browse files Browse the repository at this point in the history
  • Loading branch information
yeaissa authored and pull[bot] committed Oct 16, 2024
1 parent 8216c33 commit 1094818
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/platform/logging/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ source_set("default") {
deps += [ "${chip_root}/src/platform/ASR:logging" ]
} else if (chip_device_platform == "webos") {
deps += [ "${chip_root}/src/platform/webos:logging" ]
} else if (chip_device_platform == "zephyr" ||
chip_device_platform == "nxp_zephyr") {
} else if (chip_device_platform == "zephyr") {
deps += [ "${chip_root}/src/platform/Zephyr:logging" ]
} else if (chip_device_platform == "nxp_zephyr") {
deps += [ "${chip_root}/src/platform/nxp/zephyr:logging" ]
} else if (chip_device_platform == "nrfconnect") {
deps += [ "${chip_root}/src/platform/nrfconnect:logging" ]
} else if (chip_device_platform == "telink") {
Expand Down
8 changes: 8 additions & 0 deletions src/platform/nxp/zephyr/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,11 @@ static_library("nxp_zephyr") {

cflags = [ "-Wconversion" ]
}

source_set("logging") {
deps = [
"${chip_root}/src/platform:platform_base",
"${chip_root}/src/platform/logging:headers",
]
sources = [ "../../Zephyr/Logging.cpp" ]
}

0 comments on commit 1094818

Please sign in to comment.