mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 16:10:20 +00:00
5e430e4eb4
This requires gcc8 from ports to build the Toolchain.
25 lines
461 B
Bash
Executable file
25 lines
461 B
Bash
Executable file
#!/bin/sh
|
|
set -e
|
|
|
|
script_path=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
|
cd "$script_path"
|
|
|
|
# Get user and group details for setting qemu disk image ownership
|
|
build_user=$(id -u)
|
|
build_group=$(id -g)
|
|
export build_user
|
|
export build_group
|
|
|
|
sudo id
|
|
|
|
MAKE=make
|
|
|
|
if [ "$(uname -s)" = "OpenBSD" ]; then
|
|
MAKE=gmake
|
|
fi
|
|
|
|
$MAKE -C ../ clean && \
|
|
$MAKE -C ../ && \
|
|
$MAKE -C ../ test && \
|
|
$MAKE -C ../ install &&
|
|
sudo -E PATH="$PATH" ./build-image-qemu.sh
|