diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2020-10-06 21:10:14 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-12 18:38:10 +0000 |
commit | 5ec7c4f83a868c788da4ccbc3944c75ef3f7b739 (patch) | |
tree | 4a57655575d3e4e19c8d3d2dc07db5bd37675bbb /docs | |
parent | 94b7b485a2ec24c73c8888014bea2f9f1801f3c3 (diff) | |
download | chrome-ec-5ec7c4f83a868c788da4ccbc3944c75ef3f7b739.tar.gz |
zephyr: detect the module location in a 2.3/2.4 compatible manner
Most zephyr modules choose to put CMakeLists.txt at the root of the
module, but we instead decided to put ours at zephyr/CMakeLists.txt to
keep all CMake contained within the zephyr/ directory.
So a change in 2.4 came to bite us. ZEPHYR_CURRENT_MODULE_DIR will
now be set to the base of the module, not the directory where the
CMakeLists.txt is located.
Update the code to probe for the 2.3/2.4 difference.
BUG=b:170268298
BRANCH=none
TEST=compile zephyr for posix-ec on 2.3 and 2.4 (using zmake; build
instructions and WIP CL can be found at go/zmake)
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ia6da8451bd7d25aafe7cf42066d202ead208fa7c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2454973
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions