-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More cleanup for the openthread build targets and EFR32 #22049
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,27 @@ group("openthread") { | |
"${chip_root}/third_party/openthread/platforms:libopenthread-platform", | ||
"${chip_root}/third_party/openthread/platforms:libopenthread-platform-utils", | ||
] | ||
} | ||
} | ||
|
||
group("openthread_device") { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one is "openthread": There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I put device as a full thread Device or minimal Thread Device and kept simply open thread for the other one has it was already name that way but sure I scan swap/rename them There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, you should swap them because the names mean something in the upstream, and that meaning should be respected here. "libopenthread" is the openthread core API. "libopenthread-platform" is the platform API. |
||
if (chip_openthread_target != "") { | ||
public_deps = [ chip_openthread_target ] | ||
} else { | ||
if (chip_openthread_ftd) { | ||
public_deps = [ "${openthread_root}:libopenthread-ftd" ] | ||
} else { | ||
public_deps = [ "${openthread_root}:libopenthread-mtd" ] | ||
} | ||
} | ||
} | ||
|
||
group("openthread_cli") { | ||
if (chip_openthread_target == "") { | ||
if (chip_openthread_ftd) { | ||
public_deps += [ "${openthread_root}:libopenthread-ftd" ] | ||
public_deps = [ "${openthread_root}:libopenthread-cli-ftd" ] | ||
} else { | ||
public_deps += [ "${openthread_root}:libopenthread-mtd" ] | ||
public_deps = [ "${openthread_root}:libopenthread-cli-mtd" ] | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is openthread-platform...