summaryrefslogtreecommitdiffhomepage
path: root/004.psxstub.vars
diff options
context:
space:
mode:
Diffstat (limited to '004.psxstub.vars')
-rw-r--r--004.psxstub.vars20
1 files changed, 20 insertions, 0 deletions
diff --git a/004.psxstub.vars b/004.psxstub.vars
new file mode 100644
index 00000000..d9c467d1
--- /dev/null
+++ b/004.psxstub.vars
@@ -0,0 +1,20 @@
+#
+# . ./build.vars and set -o errexit -o noglob are assumed.
+#
+
+pkg_psxstub_finish() {
+ if ! is_build_script_done install; then
+ if [ "${TARGET}" = i686-nt32-midipix ] \
+ || [ "${TARGET}" = x86_64-nt64-midipix ]; then
+ cd psxstub;
+ make ${MAKEFLAGS} DESTDIR=${PKG_PREFIX} TARGET=${TARGET} install;
+ if [ -e ${PKG_PREFIX}/lib/libpsxscl.a ]; then
+ echo rm -f -- ${PKG_PREFIX}/lib/libpsxscl.a;
+ rm -f -- ${PKG_PREFIX}/lib/libpsxscl.a;
+ fi;
+ set_build_script_done install finish;
+ fi;
+ fi;
+};
+
+# vim:filetype=sh