mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-16 19:32:07 +00:00
build script tweaks (ubuntu)
This commit is contained in:
parent
f370137c88
commit
69ecf7f5e0
@ -2,10 +2,10 @@ SRC=$(readlink -f `dirname $0`)
|
||||
mkdir -p binutils-build
|
||||
mkdir -p toolchain
|
||||
PREFIX=`pwd`/toolchain/
|
||||
|
||||
set -e
|
||||
|
||||
cd binutils-build
|
||||
export CFLAGS=-Wno-unused-but-set-variable
|
||||
export "CFLAGS=-Wno-unused-but-set-variable -Wno-unused-but-set-parameter"
|
||||
$SRC/binutils/configure --target=m68k-unknown-elf --prefix=$PREFIX
|
||||
make -j8
|
||||
make install
|
||||
@ -24,11 +24,13 @@ cd ..
|
||||
#cd newlib-build
|
||||
BINUTILS=$(readlink -f binutils-build)
|
||||
|
||||
export "CFLAGS=-I../../Retro68/binutils/include"
|
||||
mkdir -p elf2flt-build
|
||||
cd elf2flt-build
|
||||
$SRC/elf2flt/configure --target=m68k-unknown-elf --prefix=$PREFIX --with-binutils-build-dir=$BINUTILS
|
||||
make -j8
|
||||
make install
|
||||
unset CFLAGS
|
||||
|
||||
cd ..
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user