|
Lucio Andrés Illanes Albornoz |
d279a9 |
usage: ./build.sh [-a nt32|nt64] [-b debug|release] [-C dir[,..]] [-D kind[,..]]
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
[-F ipv4|ipv6|offline] [-h] [-P [jobs]] [-r ALL|name[,..][:step,..]]
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
[-R] [-v[v[v]]] [-x] [--as-needed] [--debug-minipix] [<target>[ ..]]
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-a nt32|nt64 Selects 32-bit or 64-bit architecture; defaults to nt64.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-b debug|release Selects debug or release build; defaults to debug.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-C dir[,..] Clean build directory (build,) ${PREFIX} before processing build
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
scripts (prefix,) source directory (src,) and/or destination directory
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
(dest) after successful package builds.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-D kind[,..] Produce minimal midipix distribution directory (minipix,) package
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
tarballs (pkg,) RPM binary packages (rpm,) compressed and optionally
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
signed binary and source tarballs containing ${PREFIX} sans ${BUILD_WORKDIR}
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
(t{bz2,gz,xz},) and/or deployable distribution ZIP archive (zipdist.)
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
{t{bz2,gz,xz},zipdist} imply minipix.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-F ipv4|ipv6|offline
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
Force IPv4 (ipv4) or IPv6 (ipv6) when downloading package archives
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
and/or Git repositories or don't download either at all (offline.)
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-h Show this screen.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-P [jobs] Enables parallelisation at target-level, whenever applicable.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
The maximum count of jobs defaults to the number of logical
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
processors on the host system.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
If -R is not specified and at least one (1) package fails to build,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
all remaining package builds will be forcibly aborted for convenience.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-r ALL|name[,..][:step,..]
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
Restart all packages/the specified comma-separated package(s)
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
completely or at optionally specified comma-separated step(s).
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
Currently defined steps are:
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
fetch_wget, fetch_git, fetch_extract,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
configure_patch_pre, configure_autotools, configure_patch,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
configure, build, install_subdirs, install_make,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
install_files, install_libs, install_pkgconfig, install_purge_la,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
install_strip, install, and install_rpm.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-R Ignore build failures, skip printing package logs, and continue
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
building (relaxed mode.)
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-v[v[v]] Be verbose; -vv: always print package logs; -vvv: logs fileops.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
-x Set xtrace during package builds; implies -vv.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
--as-needed Don't build unless the midipix_build repository has received new commits.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
--debug-minipix Don't strip(1) minipix binaries to facilitate debugging minipix.
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
<target>[ ..] One of:
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
host or host_tools, host_tools_deps, host_tools_rpm, host_toolchain_deps, host_toolchain, host_toolchain_mingw32,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
native or native_tools, native_toolchain_deps, native_toolchain, native_toolchain_mingw32, native_runtime,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
packages_deps or host_packages_deps, native_packages_deps, native_packages_deps_x11,
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
packages or native_packages.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
|
|
Lucio Andrés Illanes Albornoz |
4c59fa |
${HOME}/midipix_build.vars, ${HOME}/.midipix_build.vars, and/or ../midipix_build.vars will be sourced if present.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
Examples:
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
./build.sh -r coreutils
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
Completely restart the coreutils build.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
./build.sh -r coreutils:configure,build,install
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
Restart the configure, build, and install steps of the coreutils build.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
|
|
Lucio Andrés Illanes Albornoz |
d279a9 |
./build.sh -C prefix -r ALL DEFAULT_GITROOT_HEAD=...
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
59765f |
Clean ${PREFIX} and forcibly rebuild everything.
|