From 0dd98382208f12e36f22ad50791180afe8232ce6 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Thu, 5 Aug 2021 19:13:46 +0000 Subject: add a script which builds i686-elf-binutils --- tools/dep_builders/dl | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 tools/dep_builders/dl (limited to 'tools/dep_builders/dl') diff --git a/tools/dep_builders/dl b/tools/dep_builders/dl new file mode 100755 index 0000000..8cfeebc --- /dev/null +++ b/tools/dep_builders/dl @@ -0,0 +1,9 @@ +#!/bin/sh +# downloads a file to toolchain/cache unless it's already present there + +mkdir -p toolchain/cache +OUT="toolchain/cache/$(basename $1)" + +[ -e "$OUT" ] && exit +echo "downloading $1..." +curl "$1" > $OUT -- cgit v1.2.3