essence-os/util/automation/build_minimal.sh

21 lines
942 B
Bash
Executable File

#!/bin/bash
set -eux
cd essence
mkdir -p bin root
echo "accepted_license=1" >> bin/build_config.ini
echo "automated_build=1" >> bin/build_config.ini
echo "Flag.DEBUG_BUILD=0" >> bin/config.ini
echo "BuildCore.NoImportPOSIX=1" >> bin/config.ini
echo "BuildCore.RequiredFontsOnly=1" >> bin/config.ini
echo "Emulator.PrimaryDriveMB=32" >> bin/config.ini
echo "Emulator.PrimaryDriveMB=32" >> bin/config.ini
echo "Dependency.ACPICA=0" >> bin/config.ini
echo "Dependency.stb_image=0" >> bin/config.ini
echo "Dependency.stb_image_write=0" >> bin/config.ini
echo "Dependency.stb_sprintf=0" >> bin/config.ini
echo "Dependency.FreeTypeAndHarfBuzz=0" >> bin/config.ini
./start.sh get-source prefix https://github.com/nakst/build-gcc/releases/download/gcc-11.1.0/gcc-x86_64-essence.tar.xz
./start.sh setup-pre-built-toolchain
./start.sh build-optimised