[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [lbuilds] Make 3.81 zu Crosstools hinzugefügt.
From c277bc86e88af926b6e838e5842275aebe894962 Mon Sep 17 00:00:00 2001
From: Dominik Bittner <DoBi-tyndur@xxxxxxx>
Date: Sat, 13 Aug 2011 21:03:04 +0200
Subject: [PATCH] =?utf-8?q?Build-Crosstools:=20+=20Make=203.81=20hinzugef=C3?=
=?utf-8?q?=83=C2=BCgt,=20da=20fpc=20sich=20mit=20make=20>=203.81=20nicht=20?=
=?utf-8?q?kompilieren=20l=C3=83=C2=A4sst.=20Signed-off-by:=20Dominik=20Bitt?=
=?utf-8?q?ner=20<DoBi-tyndur@xxxxxxx>?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
---
scripts/build_crosstools | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/scripts/build_crosstools b/scripts/build_crosstools
index b3589fd..b833b90 100755
--- a/scripts/build_crosstools
+++ b/scripts/build_crosstools
@@ -44,6 +44,7 @@ mkdir -p ${TMP}/cross-binutils/build
mkdir -p ${TMP}/cross-gcc/build
mkdir -p ${TMP}/cross-fpc
mkdir -p ${TMP}/cross-fasm
+mkdir -p ${TMP}/make/build
#
# User nerven
@@ -205,6 +206,28 @@ echo -e "[gcc] Abgeschlossen\n"
fi
#
+# Make 3.81 für FPC
+#
+if [ ! -f $TMP/make/build/bin/make ]; then
+
+rm -rf ${TMP}/make/make-3.81
+cd ${TMP}/make
+echo "[make] Verion 3.81"
+echo "[make] Herunterladen..."
+
+[ -f make-3.81.tar.bz2 ] || wget -q http://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 || die "Fehler beim Herrunterladen."
+echo "[make] Entpacken..."
+tar -xvf make-3.81.tar.bz2
+echo "[make] Kompilieren"
+cd make-3.81
+./configure --prefix=${TMP}/make/build
+make
+echo "[make] Installieren."
+make install
+echo "[make] Fertig."
+fi
+
+#
# FPC
#
if [ ! -f $PREFIX/bin/fpc ]; then
@@ -247,7 +270,7 @@ export PATH="$PATH:`pwd`"
echo "[fpc] Kompilieren"
#utils/fpcm/fpcmake -Tall -r >>${LOGS}/fpc.log || exit -1
# Hindweis: Die folgende Anweisung wird nicht erfolgreich beendet werden, aber der Crosscompiler steht danach zur Verfuegung
-make all CPU_TARGET=i386 OS_TARGET=linux >>${LOGS}/fpc.log 2>>${LOGS}/fpc.log
+${TMP}/make/build/bin/make all CPU_TARGET=i386 OS_TARGET=linux >>${LOGS}/fpc.log 2>>${LOGS}/fpc.log
test -f compiler/ppc386 || die "Fehler beim Kompilieren. \nSiehe tmp/fpc.log für Details."
echo "[fpc] Installieren"
#make compiler-install PREFIX=${PREFIX} CPU_TARGET=i386 OS_TARGET=lost >>${LOGS}/fpc.log || exit -1
--
1.7.6
--
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!
Jetzt informieren: http://www.gmx.net/de/go/freephone