mirror of
https://git.planet-casio.com/Lephenixnoir/sh-elf-binutils.git
synced 2025-01-02 23:13:38 +01:00
92ec440af8
* Configure and install so stuff ends up in the fxSDK sysroot * Don't clean by default, make it a configuration called :clean * :any now only skips build if the compiler is in the sysroot * Redo README with proper tutorial Details: * Proper .gitignore
19 lines
396 B
Bash
Executable file
19 lines
396 B
Bash
Executable file
#! /usr/bin/env bash
|
|
|
|
# Avoid rebuilds of the same version
|
|
[[ -e "build/giteapc-skip-rebuild.txt" ]] && exit 0
|
|
|
|
source util.sh
|
|
cd build
|
|
|
|
# Number of processor cores
|
|
if [[ $(uname) == "OpenBSD" || $(uname) == "Darwin" ]]; then
|
|
cores=$(sysctl -n hw.ncpu)
|
|
else
|
|
cores=$(nproc)
|
|
fi
|
|
|
|
echo "$TAG Compiling binutils (usually 5-10 minutes)..."
|
|
|
|
run_quietly giteapc-build.log \
|
|
$MAKE_COMMAND -j"$cores"
|