-
Notifications
You must be signed in to change notification settings - Fork 178
[mosq]: Add support for linux build #977
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
base: master
Are you sure you want to change the base?
Conversation
a52c046 to
9186c99
Compare
a7b46e1 to
d11a9dc
Compare
In order to support linux builds, we define this component as a no-op
d11a9dc to
d7ed8a8
Compare
| rules: | ||
| - if: idf_version >=6.0 | ||
| version: ^1.0.0 | ||
| espressif/sock_utils: |
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.
Should we guard to not add it on Linux target build?
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.
wanted to keep this cleaner, but i'll probably make sense in future when component manager becomes more stable and dependency resolution more predictable.
just didn't want to end-up like our Ethernet component: https://github.com/espressif/esp-eth-drivers/blob/master/ethernet_init/idf_component.yml 😄
|
|
||
| include($ENV{IDF_PATH}/tools/cmake/project.cmake) | ||
|
|
||
| if("${IDF_TARGET}" STREQUAL "linux") |
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.
Isn't cleaner to move this to component manager yml?
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.
Yes, it's probably cleaner, but less practical.
Remember the issues Ondrej had with #ifdef-in components/version? Plus it'd add one more expansion.
mosquito
sock_utils
Examples