Revert "RISC-V: Detect python and pick best one for calling multilib-generator"

This reverts commit e695f0101a.
This commit is contained in:
Kito Cheng 2021-07-21 16:31:10 +08:00
parent b136b7a787
commit e0335bb7d1

View file

@ -4730,10 +4730,9 @@ case "${target}" in
echo "--with-multilib-list= can't used with --with-multilib-generator= at same time" 1>&2
exit 1
fi
PYTHON=`which python || which python3 || which python2`
case "${target}" in
riscv*-*-elf*)
if ${PYTHON} ${srcdir}/config/riscv/multilib-generator \
if ${srcdir}/config/riscv/multilib-generator \
`echo ${with_multilib_generator} | sed 's/;/ /g'`\
> t-multilib-config;
then