added sdk version file for cmake evaluation

This commit is contained in:
Sebastian Wendel 2023-09-15 13:42:36 +02:00
parent 92a1367216
commit 910ba60a98

View file

@ -90,7 +90,7 @@ in
'';
patchPhase = ''
patchShebangs .
patchShebangs .
substituteInPlace cmake/zephyr/host-tools.cmake \
--replace "/usr/share" "/share" \
@ -118,6 +118,7 @@ in
# add zephyr-sdk cmake modules
mv ./cmake $out/lib/cmake
mv ./sdk_* $out/lib
# add zephyr-sdk cross compilers
mv ./*zephyr*/bin/* $out/bin/