|
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 |
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
|