From 394922bfd2c9182f3268bff664d4c46a1a6590f7 Mon Sep 17 00:00:00 2001 From: Xavier ASUS Date: Tue, 29 Oct 2019 01:20:21 +0100 Subject: First commit, forked from sourceforge tar --- configure_binutils.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 configure_binutils.sh (limited to 'configure_binutils.sh') diff --git a/configure_binutils.sh b/configure_binutils.sh new file mode 100755 index 0000000..3c17d01 --- /dev/null +++ b/configure_binutils.sh @@ -0,0 +1,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- -- cgit v1.2.3