summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-22 16:00:55 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-11-22 18:06:58 +0000
commitfc9417f077a909539495531229f9035c15fe10f0 (patch)
tree30195a268ceb7d5a6bb5a1c6167385bbbf68e58d /vars
parent14c984b00aece1050b63288fe5856854ebcbb352 (diff)
downloadmidipix_build-fc9417f077a909539495531229f9035c15fe10f0.tar.bz2
midipix_build-fc9417f077a909539495531229f9035c15fe10f0.tar.xz
build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic.
subr/ex_pkg_dispatch.subr: dispatch background jobs w/ redirected std{err,out} & FIFO. subr/ex_pkg_state.subr:ex_pkg_state_init(): trap(1) signals to abort build. vars/{gcc,musl}.vars: don't exit(1) from within package subroutine.
Diffstat (limited to 'vars')
-rw-r--r--vars/gcc.vars5
-rw-r--r--vars/musl.vars3
2 files changed, 0 insertions, 8 deletions
diff --git a/vars/gcc.vars b/vars/gcc.vars
index 277ba8a8..f3b192b8 100644
--- a/vars/gcc.vars
+++ b/vars/gcc.vars
@@ -159,7 +159,6 @@ pkg_gcc_stage1_all() {
fi;
ex_pkg_state_push "${PKG_NAME}" install finish;
fi;
- exit 0;
};
pkg_gcc_runtime_all() {
@@ -176,7 +175,6 @@ pkg_gcc_runtime_all() {
make ${PKG_MAKEFLAGS_BUILD} install-target-libgcc;
ex_pkg_state_push "${PKG_NAME}" install finish;
fi;
- exit 0;
};
pkg_gcc_libstdcpp_v3_all() {
@@ -193,7 +191,6 @@ pkg_gcc_libstdcpp_v3_all() {
make ${PKG_MAKEFLAGS_BUILD} install-target-libstdc++-v3;
ex_pkg_state_push "${PKG_NAME}" install finish;
fi;
- exit 0;
};
pkg_gcc_full_all() {
@@ -210,7 +207,6 @@ pkg_gcc_full_all() {
make ${PKG_MAKEFLAGS_BUILD} install;
ex_pkg_state_push "${PKG_NAME}" install finish;
fi;
- exit 0;
};
pkg_gcc_native_all() {
@@ -253,7 +249,6 @@ pkg_gcc_native_all() {
make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" install;
ex_pkg_state_push "${PKG_NAME}" install finish;
fi;
- exit 0;
};
# vim:filetype=sh
diff --git a/vars/musl.vars b/vars/musl.vars
index 5605872f..d2dfd54c 100644
--- a/vars/musl.vars
+++ b/vars/musl.vars
@@ -53,7 +53,6 @@ pkg_musl_no_complex_all() {
./lazy -e "${_install}" -x build;
ex_pkg_state_push "${PKG_NAME}" build finish;
fi;
- exit 0;
};
pkg_musl_native_all() {
@@ -76,7 +75,6 @@ pkg_musl_native_all() {
ex_build_fileop ln_symbolic ../lib/libc.so "${PKG_PREFIX}/bin/ldd";
ex_pkg_state_push "${PKG_NAME}" build finish;
fi;
- exit 0;
};
pkg_musl_full_all() {
@@ -98,7 +96,6 @@ pkg_musl_full_all() {
./lazy -e "${_install}" -x build;
ex_pkg_state_push "${PKG_NAME}" build finish;
fi;
- exit 0;
};
# vim:filetype=sh