aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap.sh')
-rw-r--r--bootstrap.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100644
index 0000000..6ef6efb
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+. ./vars.sh
+. ./download-funcs.sh
+. ./bootstrap-funcs.sh
+
+print_info "Root is $CROSS_TOOLS"
+print_info "Cross-compiling on $HOST to $TARGET"
+
+setup_directories
+
+mkdir -p $BUILD_ROOT/bootstrap &&
+ cd $BUILD_ROOT/bootstrap &&
+ compile_binutils &&
+ compile_gcc &&
+ compile_pkgconfiglite &&
+ install_gnumach_headers &&
+ install_gnumig &&
+ install_hurd_headers &&
+ compile_first_glibc &&
+ compile_full_gcc &&
+ compile_second_glibc &&
+ print_info "bootstrap.sh finished successfully" &&
+ exit 0