commit | 53c5897b98f405778837243a26642d6bd16ee581 | [log] [tgz] |
---|---|---|
author | Andriy Gelman <andriy.gelman@gmail.com> | Thu Jul 13 14:08:28 2023 -0400 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Mon Aug 14 13:34:50 2023 +0000 |
tree | b7d8169980f81681656677a9a724817449b2cce4 | |
parent | db2624def4898e423a0ffe3f65e286752633f718 [diff] |
cmake: modules: Add zephyr_code_relocate_ifdef() macro Currently zephyr_code_relocate() will exit with an error if the library does not exist. This commit adds a macro that only calls zephyr_code_relocate() when a specific Kconfig symbol is enabled. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>