aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-24 22:55:29 -0400
committerIan Moffett <ian@osmora.org>2024-06-24 22:55:29 -0400
commit236963e7563be3e3f8220dac7bb4af446928e194 (patch)
treee521ea226db0345bbb3679fffe09d96254b7dc73 /bootstrap
parent214eadc62b5578f76c98a38a28f8b3d80ac4d6ad (diff)
Clean out for expt
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap56
1 files changed, 0 insertions, 56 deletions
diff --git a/bootstrap b/bootstrap
deleted file mode 100755
index afaa375..0000000
--- a/bootstrap
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/usr/bin/env bash
-set -e
-
-mkdir -p lib/
-
-# arg0: Output path.
-# arg1: Command for downloading
-try_fetch() {
- if [[ -d $2 ]]
- then
- echo "try_fetch: Skipping $2: already exists"
- else
- ${@:1}
- fi
-}
-
-fetch() {
- try_fetch "git clone https://github.com/limine-bootloader/limine.git --branch=v6.x-branch-binary --depth=1" "stand/limine"
-}
-
-build_limine() {
- make -C stand/limine/
-}
-
-build_kconf() {
- make -C tools/kconf/
-}
-
-build() {
- build_limine
- build_kconf
-}
-
-echo "----------------------------------"
-echo
-echo " Fetching sources... "
-echo
-echo "----------------------------------"
-echo -e "\n"
-
-fetch # Fetch sources
-
-echo "----------------------------------"
-echo
-echo " Building sources... "
-echo
-echo "----------------------------------"
-echo -e "\n"
-
-build # Build sources
-
-if [[ ! -f ./configure ]]
-then
- echo "Creating configure script..."
- autoconf
-fi