diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-08 14:04:33 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2016-02-08 15:23:11 +0100 |
commit | f9c3864711d0de4e7305e3509d339f0713efa859 (patch) | |
tree | 0acde74d41e11715e69b40e1d29b453bbe22a5cc /build.sh | |
parent | 0dae87d3c39796eb0e9288256737e45c5030650e (diff) | |
download | midipix_build-f9c3864711d0de4e7305e3509d339f0713efa859.tar.bz2 midipix_build-f9c3864711d0de4e7305e3509d339f0713efa859.tar.xz |
- Explicitly pass {C,LD}FLAGS_PATH to the runtime (ntapi, psxscl,
etc.) build scripts; everything now goes into $PREFIX_NATIVE
except for the cross compiler and its dependencies, which go
into $PREFIX_TARGET.
- Replaced specific PREFIX variables w/ generic per-build level CFLAGS.
- Merged 204.psxscl.build into pkg.build.
- Generalised patching procedure into build.subr.
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,7 @@ #!/bin/sh { +#clear_env_with_except HOME PATH SHELL TERM USER; unset AR ARFLAGS CC CFLAGS CXX CXXFLAGS LD LDFLAGS; . ./build.vars; . ./build.subr; check_path_vars PREFIX PREFIX_NATIVE WORKDIR; @@ -24,6 +25,7 @@ for BUILD_LVL in 0 1 2 3; do (set -o errexit -- $(split . ${BUILD_SCRIPT_FNAME%.build}); \ SCRIPT_FNAME=${BUILD_SCRIPT_FNAME}; _pwd=$(pwd); \ export CFLAGS="$(eval echo \${CFLAGS_LVL${BUILD_LVL}})"; \ + export PREFIX_LVL="$(eval echo \${PREFIX_LVL${BUILD_LVL}})"; \ cd ${WORKDIR}; . ${_pwd}/build.subr; \ [ -f ${_pwd}/${SCRIPT_FNAME%.build}.vars ] && \ . ${_pwd}/${SCRIPT_FNAME%.build}.vars; \ |