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 /204.psxscl.build | |
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 '204.psxscl.build')
l---------[-rw-r--r--] | 204.psxscl.build | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/204.psxscl.build b/204.psxscl.build index 7202d1a7..52bb82e5 100644..120000 --- a/204.psxscl.build +++ b/204.psxscl.build @@ -1,37 +1 @@ -# Order: psxtypes pemagine dalist ntapi psxscl ntcon ntctty - -parse_with_pkg_name ${2} \ - dalist ntapi ntcon ntctty pemagine psxscl psxtypes; -if is_build_script_done finished; then - exit 212; -else - fetch_git ${PKG_SUBDIR} ${PKG_URL}; - set_build_dir ${PKG_SUBDIR} cross; -fi; -if [ "x${PKG_NAME}" = "xpsxtypes" ]; then - if ! is_build_script_done installed; then - make -C ${PKG_SUBDIR} ${MAKEFLAGS} DESTDIR=${PREFIX_TARGET}; - set_build_script_done installed finished; - fi; -else - if ! is_build_script_done configured; then - rm_if_exists -m -c ${BUILD_DIR}; - ../${PKG_SUBDIR}/configure \ - --prefix=${PREFIX_TARGET} \ - --host=${HOST_NATIVE}; - set_build_script_done configured -built; - else - cd ${BUILD_DIR}; - fi; - if ! is_build_script_done built; then - make ${MAKEFLAGS}; - set_build_script_done built -installed; - fi; - if ! is_build_script_done installed; then - make ${MAKEFLAGS} install; - make ${MAKEFLAGS} DESTDIR=${PREFIX_TARGET}; - set_build_script_done installed finished; - fi; -fi; - -# vim:filetype=sh +pkg.build
\ No newline at end of file |