aboutsummaryrefslogtreecommitdiff
path: root/configure_binutils.sh
blob: 3c17d010062c0b2de883fc25c5823ca1ad6a5be1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
cd binutils-2.30
if [ x$HOST=x"" ]; then
  _HOST=$(./config.guess)
else
  _HOST=$HOST
fi
if [ x$PREFIX != x"" ]; then
  _PREFIX="-prefix=$PREFIX"
fi

./configure --host=$_HOST --target=stm8-none-elf32 $_PREFIX --program-prefix=stm8-