mirror of
https://github.com/OpenAMP/libmetal.git
synced 2026-09-29 14:24:01 +08:00
CI: fix zephyr build issue related to the VERSION file
The Zephyr cmake fails in version.cmake because some fields are not present in the libmetal VERSION file Add dummy fields for the CI to fix compatibility issue Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
2345b74998
commit
cd104fa0fd
@@ -80,6 +80,10 @@ build_zephyr(){
|
||||
cd ../.. &&
|
||||
# The prj.conf is mandatory for cmake execution, create a void file.
|
||||
touch prj.conf &&
|
||||
# Add dummy fields in the VERSION file to fix compatibility with Zephyr
|
||||
# version.cmake file
|
||||
echo "PATCHLEVEL = 0" >>VERSION &&
|
||||
echo "VERSION_TWEAK = 0" >>VERSION &&
|
||||
echo "###### Build for qemu_cortex_m3 ######" &&
|
||||
cmake . -DWITH_ZEPHYR=on -DBOARD=qemu_cortex_m3 -DWITH_TESTS=on -Bbuild-zephyr-m3 &&
|
||||
cd build-zephyr-m3 &&
|
||||
|
||||
Reference in New Issue
Block a user