Skip to content

Commit 25ea457

Browse files
committed
make_zephyr_sdk: Add cmake bits to arch specific toolchains
The arch specific toolchains are missing the cmake bits, which means if you install one of them it will not work with zephyr. Signed-off-by: Kumar Gala <[email protected]>
1 parent f73e8b5 commit 25ea457

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/make_zephyr_sdk.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,11 @@ create_toolchain()
146146
mkdir -p toolchains/${arch}
147147
ln toolchains/${file_gcc_arch} toolchains/${arch}
148148
ln toolchains/${file_hosttools} toolchains/${arch}
149+
ln toolchains/${file_cmake} toolchains/${arch}
149150

150151
setup_hdr $setup $toolchain_name
151152
setup_arch $setup $arch
153+
setup_cmake $setup
152154
setup_host $setup
153155
setup_ftr_toolchain $setup
154156

@@ -158,6 +160,7 @@ create_toolchain()
158160
rm $setup
159161
rm toolchains/${arch}/${file_gcc_arch}
160162
rm toolchains/${arch}/${file_hosttools}
163+
rm toolchains/${arch}/${file_cmake}
161164
rmdir toolchains/${arch}
162165
fi
163166
}

0 commit comments

Comments
 (0)