summaryrefslogtreecommitdiffhomepage
path: root/vars/psxstub_host.vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-03 16:10:05 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2017-12-03 16:20:07 +0000
commitec19f02f81c206f54a89ef7e1f49715e90470c31 (patch)
treea4f6a307e70bad5c4a836a18cbf92b6b0afa0b83 /vars/psxstub_host.vars
parent16c9cd223ae1809124a163d13e820f19e18e7edc (diff)
downloadmidipix_build-ec19f02f81c206f54a89ef7e1f49715e90470c31.tar.bz2
midipix_build-ec19f02f81c206f54a89ef7e1f49715e90470c31.tar.xz
Separate front end (build.sh, subr/build_*) from dispatcher.
Diffstat (limited to 'vars/psxstub_host.vars')
-rw-r--r--vars/psxstub_host.vars16
1 files changed, 16 insertions, 0 deletions
diff --git a/vars/psxstub_host.vars b/vars/psxstub_host.vars
new file mode 100644
index 00000000..d41fde58
--- /dev/null
+++ b/vars/psxstub_host.vars
@@ -0,0 +1,16 @@
+#
+# set -o errexit -o noglob are assumed.
+#
+
+pkg_psxstub_install_make() {
+ if [ "${PKG_TARGET}" = i686-nt32-midipix ] \
+ || [ "${PKG_TARGET}" = x86_64-nt64-midipix ]; then
+ ex_rtl_fileop cd "${PKG_BASE_DIR}/psxstub";
+ make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" "TARGET=${PKG_TARGET}" install;
+ if [ -e "${PKG_PREFIX}/lib/libpsxscl.a" ]; then
+ ex_rtl_fileop rm "${PKG_PREFIX}/lib/libpsxscl.a";
+ fi;
+ fi;
+};
+
+# vim:filetype=sh