Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame build.usage

Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
usage: ./build.sh [-c] [-nd] [-r ALL|name[:step]] [-h] [-t]
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -c                     Clean $PREFIX before processing build scripts.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -nd                    Don't rm(1) and re-download tarballs when not required.
Lucio Andrés Illanes Albornoz (arab, vxp) d824e1
        -h                     Show this screen.
Lucio Andrés Illanes Albornoz (arab, vxp) d824e1
        -pt                    Enable pedantic mode. In addition to the warnings emitted
Lucio Andrés Illanes Albornoz (arab, vxp) d824e1
                               whenever a potentially dangerous operation is invoked by
Lucio Andrés Illanes Albornoz (arab, vxp) d824e1
                               the build scripts, manual confirmation will be required.
Lucio Andrés Illanes Albornoz (arab, vxp) d824e1
                               This currently only includes rm_if_exists().
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -r ALL|name[:step]     Restart all or the specified build script(s) completely
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               or at the optionally specified build step. Currently defined
Lucio Andrés Illanes Albornoz (arab, vxp) ad1a1c
                               build steps are: fetch extract build_dir patch configure clean
Lucio Andrés Illanes Albornoz (arab, vxp) ad1a1c
                               build install configure1 configure2 build1 build2 install1 install2.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -t                     Produce a distribution tarball containing $PREFIX
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               sans $WORKDIR and $PREFIX/src/midipix_build at the end of a
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               build with zero failures.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -x                     Set the xtrace sh(1)ell option for debugging purposes.
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
        -X                     Set the xtrace sh(1)ell option and compile a tarball containing
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               build.log and $PKG_SUBDIR. Use this option if something goes
Lucio Andrés Illanes Albornoz (arab, vxp) b94746
                               wrong and provide an URL to the tarball in <irc://irc.freenode.net/midipix>.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        Packages that are built by pkg.build will apply local patches in $WORKDIR
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        named ${PKG_SUBDIR}.local.patch.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        Examples:
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
        ./build.sh -r ALL
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
        Forcibly restart the entire build.
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
        ./build.sh -r 301.coreutils.build
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
        Completely restart the coreutils build.
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
        ./build.sh -r 301.coreutils.build:configure,build,install
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
        Restart the configure, build, and install steps of the coreutils build script.
Lucio Andrés Illanes Albornoz (arab, vxp) 094032
Lucio Andrés Illanes Albornoz (arab, vxp) 7adf06
        ./build.sh -r 205.psxscl.build GITROOT_HEAD=... PKG_PSXSCL_CFLAGS_CONFIGURE_EXTRA=-DPSX_INTERNAL_STRACE
Lucio Andrés Illanes Albornoz (arab, vxp) 090fd4
        Build psxscl from the internal repository with strace enabled.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
        ./build.sh -c -r ALL GITROOT_HEAD=...
Lucio Andrés Illanes Albornoz (arab, vxp) 0724e5
        Clean $PREFIX and forcibly rebuild everything.