commit | ad8b90ad362f620b8a58bcce6bb1d9014a65124a | [log] [tgz] |
---|---|---|
author | Luca Burelli <l.burelli@arduino.cc> | Wed Apr 10 17:34:32 2024 +0200 |
committer | Alberto Escolar <alberto.escolar.piedras@nordicsemi.no> | Fri Apr 19 10:10:39 2024 +0200 |
tree | 7227feb8d4164fdbf16b739a06a96b85abd67437 | |
parent | 14509a8d7beb5f8a1995ece0b3c015d919e8fa44 [diff] |
cmake: add_llext_target: handle empty LLEXT_REMOVE_FLAGS When LLEXT_REMOVE_FLAGS is empty, the regular expression that is constructed to remove flags from the Zephyr flags would match any string, resulting in all flags being removed. This is not the intended behavior, so we need to handle this case by setting the regular expression to a pattern that does not match anything. Signed-off-by: Luca Burelli <l.burelli@arduino.cc>