summaryrefslogtreecommitdiffhomepage
path: root/build.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-07 16:54:05 +0100
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2016-02-07 17:24:59 +0100
commit75a203ce9044974fd5027654348c7a4414877e35 (patch)
treecf87ae3fc657d39653e8f694c94d89c5c67e806c /build.sh
parent96b3097e548d741fe34bc2b54b5f59c725c06cec (diff)
downloadmidipix_build-75a203ce9044974fd5027654348c7a4414877e35.tar.bz2
midipix_build-75a203ce9044974fd5027654348c7a4414877e35.tar.xz
- Followup to last commit.
- Inserted dalist, ntapi, pemagine, psxtypes, psxscl, and ntctty in between build levels 1 (binutils...) and 2 (coreutils...) which is now build level 3. - Added SHA256 manifest for the upstream patches of bash, as verifying the signatures provided would tie in GnuPG as a dependency.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index f027084b..21cf1f2c 100755
--- a/build.sh
+++ b/build.sh
@@ -9,7 +9,7 @@ log_msg info "Build started by ${BUILD_USER:=${USER}}@${BUILD_HNAME:=$(hostname)
#trap
(set -o errexit; mkdir -p ${PREFIX} ${WORKDIR});
BUILD_NFINI=${BUILD_NSKIP:=${BUILD_NFAIL:=${BUILD_NBUILT:=0}}};
-for BUILD_LVL in 0 1 2; do
+for BUILD_LVL in 0 1 2 3; do
for BUILD_SCRIPT_FNAME in ${BUILD_LVL}[0-9][0-9].*.build; do
if [ -n "${DEBUG_SCRIPT}" ]\
&& [ "x${DEBUG_SCRIPT}" != "x${BUILD_SCRIPT_FNAME}" ]; then
@@ -23,6 +23,8 @@ for BUILD_LVL in 0 1 2; do
SCRIPT_FNAME=${BUILD_SCRIPT_FNAME}; _pwd=$(pwd); \
export CFLAGS="$(eval echo \${CFLAGS_LVL${BUILD_LVL}})"; \
cd ${WORKDIR}; . ${_pwd}/build.subr; \
+ [ -f ${_pwd}/${SCRIPT_FNAME%.build}.vars ] && \
+ . ${_pwd}/${SCRIPT_FNAME%.build}.vars; \
. ${_pwd}/${BUILD_SCRIPT_FNAME});
case ${BUILD_SCRIPT_RC:=${?}} in
0) log_msg succ "Finished build script \`${BUILD_SCRIPT_FNAME}'.";