From ae7bc7083b9797ccc5444f8c12e4a0a2b33654ab Mon Sep 17 00:00:00 2001 From: jens Date: Thu, 30 Jun 2022 17:31:16 +0200 Subject: [PATCH] - added work dir - added .gitigore.templ --- toolchain/.gitignore.templ | 2 ++ toolchain/make.sh | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 toolchain/.gitignore.templ diff --git a/toolchain/.gitignore.templ b/toolchain/.gitignore.templ new file mode 100644 index 0000000..7c42928 --- /dev/null +++ b/toolchain/.gitignore.templ @@ -0,0 +1,2 @@ +.gitignore +work/ diff --git a/toolchain/make.sh b/toolchain/make.sh index 46a7b25..2c0c6c0 100755 --- a/toolchain/make.sh +++ b/toolchain/make.sh @@ -1,6 +1,7 @@ #!/bin/sh TARGET=mips-elf -PREFIX=$(pwd)/install +WORK_DIR=$(pwd)/work +PREFIX=$WORK_DIR/install SRC_BINUTILS=binutils-2.36 SRC_GCC=gcc-10.2.0 @@ -10,6 +11,9 @@ SRC_MPFR=mpfr-4.1.0 SRC_MPC=mpc-1.2.1 SRC_GDB=gdb-10.1 +mkdir -p $WORK_DIR +cd $WORK_DIR + # --------------------------------------------------------------- # 10. Binutils bauen und installieren # ---------------------------------------------------------------