mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 02:07:34 +00:00
Ports: Remove bashisms and switch all scripts to /bin/sh.
This commit is contained in:
parent
800242ed4e
commit
d080f6e8dd
10 changed files with 64 additions and 64 deletions
|
@ -1,12 +1,12 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
PORT_DIR=binutils
|
||||
function fetch() {
|
||||
fetch() {
|
||||
run_fetch_web "https://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.xz"
|
||||
|
||||
# Add the big binutils patch (same one used by toolchain.)
|
||||
run_patch $SERENITY_ROOT/Toolchain/Patches/binutils.patch -p1
|
||||
}
|
||||
function configure() {
|
||||
configure() {
|
||||
run_configure_autotools \
|
||||
--target=i686-pc-serenity \
|
||||
--with-sysroot=/ \
|
||||
|
@ -15,10 +15,10 @@ function configure() {
|
|||
--disable-gdb \
|
||||
--disable-nls
|
||||
}
|
||||
function build() {
|
||||
build() {
|
||||
run_make
|
||||
}
|
||||
function install() {
|
||||
install() {
|
||||
run_make_install DESTDIR="$SERENITY_ROOT"/Root
|
||||
}
|
||||
source ../.port_include.sh
|
||||
. ../.port_include.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue