:-'Generic Commit'

This commit is contained in:
Your Name
2025-05-28 21:00:47 +12:00
parent dae98a3686
commit f5c585c67d
2 changed files with 195 additions and 10 deletions

View File

@ -3,19 +3,23 @@ set -euo pipefail
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
DROPSHELL_BUILD_DIR="${SCRIPT_DIR}/../dropshell-build/dropshell-build.sh"
DROPSHELL_BUILD_DIR="${SCRIPT_DIR}/../dropshell-build/"
# make canonical path
DROPSHELL_BUILD_DIR=$(realpath "${DROPSHELL_BUILD_DIR}")
# make sure the build script exists
if [ ! -f "${DROPSHELL_BUILD_DIR}" ]; then
if [ ! -f "${DROPSHELL_BUILD_DIR}/dropshell-build.sh" ]; then
echo "Error: dropshell-build.sh not found"
exit 1
fi
if [ ! -f "${DROPSHELL_BUILD_DIR}/install_host.sh" ]; then
echo "Error: install_host.sh not found"
exit 1
fi
"${SCRIPT_DIR}/build_openssl.sh"
# install host dependencies
"${DROPSHELL_BUILD_DIR}/install_host.sh"
# run the build script
"${DROPSHELL_BUILD_DIR}" "${SCRIPT_DIR}"
"${DROPSHELL_BUILD_DIR}/dropshell-build.sh" "$@" "${SCRIPT_DIR}"