Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame etc/build.usage

Lucio Andrés Illanes Albornoz (arab, vxp) 19ab70
usage: ./build.sh [-4|6] [-a nt32|nt64] [-b debug|release]
Lucio Andrés Illanes Albornoz (arab, vxp) 19ab70
                  [-c] [-C dir[,..]] [-h] [-N] [-P [jobs]]
Lucio Andrés Illanes Albornoz (arab, vxp) 19ab70
                  [-r ALL[:step,..]] [-r name[,..][:step,..]]
Lucio Andrés Illanes Albornoz (arab, vxp) 1b0bc3
                  [-R] [-t[.gz|.bz2|.xz] [-v[v[v]]] [-x]
Lucio Andrés Illanes Albornoz (arab, vxp) 1b0bc3
                  [--as-needed] [--debug-minipix] [<target>[ ..]]
Lucio Andrés Illanes Albornoz (arab, vxp) 7b01b5
        -4|-6                   Force IPv[46] when downloading files.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -a nt32|nt64            Selects 32-bit or 64-bit architecture; defaults to nt64.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -b debug|release        Selects debug or release build; defaults to debug.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -c                      Clean ${PREFIX} before processing build scripts.
Lucio Andrés Illanes Albornoz (arab, vxp) 19ab70
        -C dir[,..]             Clean build directory (build,) source directory (src,) and/or
Lucio Andrés Illanes Albornoz (arab, vxp) 19ab70
                                destination directory (dest) after successful package builds;
Lucio Andrés Illanes Albornoz (arab, vxp) 19ab70
                                excludes -t, but may be passed alongside -p.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        -h                      Show this screen.
Lucio Andrés Illanes Albornoz (arab, vxp) 35633f
        -N                      Offline mode: no {wget,git-{clone,pull}}(1) calls.
Lucio Andrés Illanes Albornoz (arab, vxp) 19ab70
        -p                      Create package tarballs; excludes -t.
Lucio Andrés Illanes Albornoz (arab, vxp) cbc8e0
        -P [jobs]               Enables parallelisation at target-level, whenever applicable.
Lucio Andrés Illanes Albornoz (arab, vxp) cbc8e0
                                The maximum count of jobs defaults to the number of logical
Lucio Andrés Illanes Albornoz (arab, vxp) cbc8e0
                                processors on the host system.
Lucio Andrés Illanes Albornoz (arab, vxp) 30ae14
                                If -R is not specified and at least one (1) package fails to build,
Lucio Andrés Illanes Albornoz (arab, vxp) 30ae14
                                all remaining package builds will be forcibly aborted for convenience.
Lucio Andrés Illanes Albornoz (arab, vxp) 9e4a42
        -r ALL[:step,..]
Lucio Andrés Illanes Albornoz (arab, vxp) 9e4a42
        -r name[,..][:step,..]  Restart the all packages/the specified comma-separated package(s)
Lucio Andrés Illanes Albornoz (arab, vxp) cbc8e0
                                completely or at optionally specified comma-separated step(s).
Lucio Andrés Illanes Albornoz (arab, vxp) 9e4a42
                                Currently defined steps are:
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
                                fetch_wget, fetch_git, fetch_extract,
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
                                configure_patch_pre, configure_autotools, configure_patch,
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
                                configure, build, install_subdirs, install_make,
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
                                install_files, install_libs, install_pkgconfig, install_purge_la,
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
                                install_strip, and install.
Lucio Andrés Illanes Albornoz (arab, vxp) 648b81
        -R                      Ignore build failures, skip printing package logs, and continue
Lucio Andrés Illanes Albornoz (arab, vxp) 648b81
                                building (relaxed mode.)
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
        -t[.gz|.bz2|.xz]        Produce binary distribution and source tarballs containing
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
                                ${PREFIX} sans ${BUILD_WORKDIR} and ${PREFIX}/src/midipix_build
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
                                and ${BUILD_WORKDIR} sans top-level regular files at the end of
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
                                a build with zero failures. The tarballs will be compressed
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
                                with either gzip, bzip2, or xz and signed with GPG; the
Lucio Andrés Illanes Albornoz (arab, vxp) a44f58
                                default compression is xz.
Lucio Andrés Illanes Albornoz (arab, vxp) 648b81
        -v[v[v]]                Be verbose; -vv: always print package logs; -vvv: logs fileops.
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
        -x                      Set xtrace during package builds; implies -vv.
Lucio Andrés Illanes Albornoz (arab, vxp) eab6ce
        --as-needed             Don't build unless the midipix_build repository has received new commits.
Lucio Andrés Illanes Albornoz (arab, vxp) 7b01b5
        --debug-minipix         Don't strip(1) minipix binaries to facilitate debugging minipix.
Lucio Andrés Illanes Albornoz (arab, vxp) 1dfec6
        <target>[ ..]           One of:
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
                                host or host_tools, host_toolchain_deps, host_toolchain, host_toolchain_mingw32,
Lucio Andrés Illanes Albornoz (arab, vxp) ec19f0
                                native or native_tools, native_toolchain_deps, native_toolchain, native_toolchain_mingw32, native_runtime,
Lucio Andrés Illanes Albornoz (arab, vxp) c8e133
                                packages_deps or host_packages_deps, native_packages_deps, native_packages_deps_x11,
Lucio Andrés Illanes Albornoz (arab, vxp) 1156ec
                                packages or native_packages, or dist, dist_minipix, or dist_target.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 8227a8
        ${HOME}/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 (arab, vxp) 8227a8
        ./build.sh -r psxscl DEFAULT_GITROOT_HEAD=... PKG_PSXSCL_CFLAGS_CONFIGURE_EXTRA=-DPSX_INTERNAL_STRACE
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Build psxscl from the internal repository with strace enabled.
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
Lucio Andrés Illanes Albornoz (arab, vxp) 8227a8
        ./build.sh -c -r ALL DEFAULT_GITROOT_HEAD=...
Lucio Andrés Illanes Albornoz (arab, vxp) 59765f
        Clean ${PREFIX} and forcibly rebuild everything.