Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/binutils.vars

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