blob: 07d6930580a9e8ff6fe47d46f76ef2e4e5e971d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#
# set +o errexit -o noglob -o nounset is assumed.
#
pkg_psxstub_install_make() {
if [ "${PKG_TARGET}" = "i686-nt32-midipix" ]\
|| [ "${PKG_TARGET}" = "x86_64-nt64-midipix" ]; then
if ! rtl_fileop cd "${PKG_BASE_DIR}/psxstub"\
|| ! make ${PKG_MAKEFLAGS_BUILD} "DESTDIR=${PKG_PREFIX}" "TARGET=${PKG_TARGET}" install; then
return 1;
elif [ -e "${PKG_PREFIX}/lib/libpsxscl.a" ]\
&& ! rtl_fileop rm "${PKG_PREFIX}/lib/libpsxscl.a"; then
return 1;
fi;
fi;
};
# vim:filetype=sh textwidth=0
|