Closed Michel-FK closed 1 year ago
How strange. I have no idea.
Before CMake 2.21 (CMP0126), a set(CACHE)
would override a normal variable.
So we had set(FILE_SYSTEM ...)
in the platform file but it was completely ignored until a cache variable got created (and then populated in the subsequent build with the correct value).
Fixed in https://github.com/od-contrib/commander/commit/0f476028f7c75bac919a3a69ed302f3c9c5ec1d9
I have an issue with a custom build for the (not yet supported) FunKey S platform (https://github.com/FunKey-Project/commander): the first build does not take into account my settings in the CMake/funkey-s_defs.cmake file.
In particular, the FILE_SYSTEM variable is ignored and get its default value of "/dev/mmcblk1p1". But if I run the build a second time, it gets the right "/dev/mmcblk0p4" value :