Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: fix zephyr build for v3.7 and later
The current CI uses the latest from main for zephyr build tests. This has been broken sometime after v3.6 and before v3.7. Since that time, use of GNU style constructors requires a kconfig value to be defined. This same kconfig value will cause an error in v3.6 or earlier. The test framework intentionally uses GNU constructors for the base level of its framework and version.c uses this to register its test. The test/system/zephyr/ level overrides the default META_ADD_TEST() macro and creates unique functions that main.c then calls explicitly in function metal_test_add_functions(). Thus, right now the only constructor used if for version.c but it still intentionally used. Since we use the latest for CI, define the value so CI will complete. Signed-off-by: Bill Mills <bill.mills@linaro.org>
- Loading branch information