midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/psxstub_host.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
#
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_psxstub_install_make() {
Lucio Andrés Illanes Albornoz bf9edf
	if [ "${PKG_TARGET}" = "i686-nt32-midipix" ]\
Lucio Andrés Illanes Albornoz bf9edf
	|| [ "${PKG_TARGET}" = "x86_64-nt64-midipix" ]; then
Lucio Andrés Illanes Albornoz bf9edf
		if ! rtl_fileop cd "${PKG_BASE_DIR}/psxstub"\
Lucio Andrés Illanes Albornoz bf9edf
		|| ! make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" "TARGET=${PKG_TARGET}" install; then
Lucio Andrés Illanes Albornoz bf9edf
			return 1;
Lucio Andrés Illanes Albornoz bf9edf
		elif [ -e "${PKG_PREFIX}/lib/libpsxscl.a" ]\
Lucio Andrés Illanes Albornoz bf9edf
		&& ! rtl_fileop rm "${PKG_PREFIX}/lib/libpsxscl.a"; then
Lucio Andrés Illanes Albornoz bf9edf
			return 1;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
		fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
	fi;
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
};
Lucio Andrés Illanes Albornoz (arab, vxp) 1d0876
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0