Commit 28eb8240 authored by sebt3's avatar sebt3

fix toolchain.cmake on download

parent 4d951f0c
......@@ -334,7 +334,7 @@ chroot.cmd() {
apt_install() {
export DEBIAN_FRONTEND=noninteractive
out.cmd apt-get -y install crossbuild-essential-armhf qemu binfmt-support qemu-user-static squashfs-tools
out.cmd apt-get -y install crossbuild-essential-armhf qemu binfmt-support qemu-user-static squashfs-tools wget
local RET=$?
unset DEBIAN_FRONTEND
return $RET
......@@ -346,6 +346,7 @@ get.setup() {
fi
if [ ! -e $DEST/toolchain.cmake ];then
wget -O $DEST/toolchain.cmake https://dev.pyra-handheld.com/sebt3/pyra-debian-cross/raw/master/toolchain.cmake
sed -i 's#SET(CMAKE_FIND_ROOT_PATH .*#SET(CMAKE_FIND_ROOT_PATH '"$DEST"')#' $DEST/toolchain.cmake
fi
}
rootfs.get() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment