mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
938924f36d
install-ports copys the necessary files from Ports/ to /usr/Ports. Also refactor the compiler and destiation variables from .port_include.sh into .hosted_defs.sh. .hosted_defs.sh does not exists when ports are built in serenity
10 lines
447 B
Bash
10 lines
447 B
Bash
#!/usr/bin/env bash
|
|
|
|
export SERENITY_ROOT="$(realpath "${SCRIPT}/../")"
|
|
export SERENITY_BUILD_DIR="${SERENITY_ROOT}/Build/${SERENITY_ARCH}"
|
|
export CC="${SERENITY_ARCH}-pc-serenity-gcc"
|
|
export CXX="${SERENITY_ARCH}-pc-serenity-g++"
|
|
export AR="${SERENITY_ARCH}-pc-serenity-ar"
|
|
export RANLIB="${SERENITY_ARCH}-pc-serenity-ranlib"
|
|
export PATH="${SERENITY_ROOT}/Toolchain/Local/${SERENITY_ARCH}/bin:${PATH}"
|
|
export DESTDIR="${SERENITY_BUILD_DIR}/Root"
|