summaryrefslogtreecommitdiffhomepage
path: root/build.usage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-12 12:43:29 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-12 16:10:21 +0100
commit1d0876af1f6b526a930d39d9b6a3e053d218e981 (patch)
treec732473dd87dfcb5ec93f3a4354d528cdabe4bec /build.usage
parentf16d357f6f9528a4fac2e14f7b882f5a455faea2 (diff)
downloadmidipix_build-1d0876af1f6b526a930d39d9b6a3e053d218e981.tar.bz2
midipix_build-1d0876af1f6b526a930d39d9b6a3e053d218e981.tar.xz
- Major cleanup in general.
- Added --{build-{scripts,steps},help,tarball}. Variables can now be overriden on the command-line. - Integrated bzip2, dash, less, ncurses, popt, rsync, tar, util-linux, which, and xz; as there are no patches in portage/ for util-linux just yet, this presently requires integrated local patches. Git is included in build.vars only as it requires OpenSSL. - Include ntapi.local.patch and psxscl.local.patch in the repository.
Diffstat (limited to 'build.usage')
-rw-r--r--build.usage22
1 files changed, 22 insertions, 0 deletions
diff --git a/build.usage b/build.usage
new file mode 100644
index 00000000..19ac8bc4
--- /dev/null
+++ b/build.usage
@@ -0,0 +1,22 @@
+usage: ./build.sh
+ [--build-scripts=ALL|fname[,fname...]] [--build-steps=ALL|step[,step...]]
+ [--help] [--tarball] [VAR=VAL...]
+ --build-scripts=... Only invoke all or the specified build script(s).
+ --build-steps=... Forcibly invoke build scripts at all or only the
+ specified build steps. Currently defined build steps
+ are: fetch extract patch configure clean build install
+ configure1 configure2 build1 build2 install1 install2
+ install3 finish.
+ --help Show this screen.
+ --tarball Produce a distribution tarball containing $PREFIX
+ sans $WORKDIR at the end of a build with zero failures.
+
+ Packages that are built by pkg.build will apply local patches in $WORKDIR
+ named ${PKG_SUBDIR}.local.patch.
+
+ Examples:
+ ./build.sh GITROOT_HEAD=... --build-scripts=204.psxscl.build --build-steps=ALL PKG_PSXSCL_CFLAGS=-DPSX_INTERNAL_STRACE
+ Build psxscl from the internal repository with strace enabled.
+
+ ./build.sh GITROOT_HEAD=... --build-scripts=ALL --build-steps=ALL
+ Forcibly rebuild everything.