mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:07:34 +00:00
Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
This commit is contained in:
parent
e507cfcdb0
commit
c07f91474d
149 changed files with 352 additions and 345 deletions
|
@ -12,20 +12,20 @@ configure() {
|
|||
run aclocal
|
||||
run automake --add-missing
|
||||
run mkdir -p host-build
|
||||
run sh -c "cd host-build && ../configure $configopts CFLAGS=-I."
|
||||
run sh -c "cd host-build && ../configure ${configopts[@]} CFLAGS=-I."
|
||||
target_env
|
||||
run mkdir -p target-build
|
||||
run sh -c "cd target-build && ../configure --host="${SERENITY_ARCH}-pc-serenity" --disable-helpers $configopts CFLAGS=-I."
|
||||
run sh -c "cd target-build && ../configure --host="${SERENITY_ARCH}-pc-serenity" --disable-helpers ${configopts[@]} CFLAGS=-I."
|
||||
}
|
||||
|
||||
build() {
|
||||
host_env
|
||||
run sh -c "cd host-build && make $makeopts"
|
||||
run sh -c "cd host-build && make ${makeopts[@]}"
|
||||
run cp host-build/src/{mkinit,mksyntax,mknodes,mksignames} src
|
||||
target_env
|
||||
run sh -c "cd target-build && make $makeopts"
|
||||
run sh -c "cd target-build && make ${makeopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run sh -c "cd target-build && make DESTDIR="${SERENITY_INSTALL_ROOT}" $installopts install"
|
||||
run sh -c "cd target-build && make DESTDIR="${SERENITY_INSTALL_ROOT}" ${installopts[@]} install"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue