Blob Blame History Raw
#
# set +o errexit -o noglob -o nounset is assumed.
#
pkg_binutils_build_install_make() {
rtl_fileop cp "${PKG_BUILD_DIR}/bfd/bfd.h" "${PKG_DESTDIR}/include";
rtl_fileop cp "${PKG_BUILD_DIR}/bfd/libbfd.a" "${PKG_DESTDIR}/lib";
rtl_fileop cp "../${PKG_SUBDIR}/include/ansidecl.h" "${PKG_DESTDIR}/include";
rtl_fileop cp "../${PKG_SUBDIR}/include/symcat.h" "${PKG_DESTDIR}/include";
};
pkg_binutils_configure_patch_post() {
local _overlay_dname="${BUILD_WORKDIR}/chainport/overlay/m${PKG_NAME%%_*}";
if [ -d "${_overlay_dname}" ]\
&& ! tar -C "${_overlay_dname}" -cpf - . | tar -C "${PKG_BASE_DIR}/${PKG_SUBDIR}" -xpf -; then
return 1;
fi;
};
pkg_binutils_host_configure_patch_post() {
pkg_binutils_configure_patch_post "${@}";
};
pkg_binutils_host_mingw32_configure_patch_post() {
pkg_binutils_configure_patch_post "${@}";
};
pkg_binutils_mingw32_configure_patch_post() {
pkg_binutils_configure_patch_post "${@}";
};
# vim:filetype=sh textwidth=0