-
Notifications
You must be signed in to change notification settings - Fork 314
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
nrf_modem: fix binary linking for upmerge 25-03-2024 #1278
Conversation
04477f7
to
4b2642d
Compare
b6bbb84
to
0f38d84
Compare
nrf_modem/CMakeLists.txt
Outdated
|
||
if(NOT arch_soc_dir MATCHES "nRF9160") | ||
string(REGEX REPLACE "nRF91[0-9]*" "nRF9120" arch_soc_dir ${arch_soc_dir}) | ||
if(NOT arch_soc_dir MATCHES "^nRF9160$") |
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.
if(NOT arch_soc_dir MATCHES "^nRF9160$") | |
if(${CONFIG_SOC} MATCHES "^nrf91[356]1$") |
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.
Actually, I think we can completely remove the if, because the substitution happens only if the regex matches.
This commit updates the cmake configuration file to recognize the new SOC names defined with HWMv2. Signed-off-by: Mirko Covizzi <[email protected]>
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.
Looks good to me, though it has to be linked or cherry-picked in the upmerge.
I'm aware, I've already notified the upmerge maintainer. |
This commit updates the cmake configuration file to
recognize the new SOC names defined with HWMv2.