Blob Blame History Raw
#
# set +o errexit -o noglob is 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