Skip to content
Snippets Groups Projects
Commit 904f1487 authored by Yunli Liu's avatar Yunli Liu Committed by Jérôme Forissier
Browse files

toolchain.mk: set SHELL = /bin/bash


while use cmd " make -f toolchain.mk -j2" for download gcc on ubuntu machine,
error occur
"/bin/sh: 1: Bad substitution make:*** [toolchain.mk:39:aarch64] Error 2"
root reason is that sh of ubuntu point to dash, not bash.
the code caused the error was
"(cd $(1)/bin && for f in *-none-linux*; do ln -s $$f $${f//-none} ; done;) \"

Signed-off-by: default avatarYunli Liu <994605959@qq.com>
Acked-by: default avatarJerome Forissier <jerome@forissier.org>
parent 487e6e4c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment