added sdk version file for cmake evaluation
This commit is contained in:
parent
92a1367216
commit
910ba60a98
|
@ -90,7 +90,7 @@ in
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
patchShebangs .
|
patchShebangs .
|
||||||
|
|
||||||
substituteInPlace cmake/zephyr/host-tools.cmake \
|
substituteInPlace cmake/zephyr/host-tools.cmake \
|
||||||
--replace "/usr/share" "/share" \
|
--replace "/usr/share" "/share" \
|
||||||
|
@ -118,6 +118,7 @@ in
|
||||||
|
|
||||||
# add zephyr-sdk cmake modules
|
# add zephyr-sdk cmake modules
|
||||||
mv ./cmake $out/lib/cmake
|
mv ./cmake $out/lib/cmake
|
||||||
|
mv ./sdk_* $out/lib
|
||||||
|
|
||||||
# add zephyr-sdk cross compilers
|
# add zephyr-sdk cross compilers
|
||||||
mv ./*zephyr*/bin/* $out/bin/
|
mv ./*zephyr*/bin/* $out/bin/
|
||||||
|
|
Loading…
Reference in a new issue