Lucio Andrés Illanes Albornoz ea7601
#
Lucio Andrés Illanes Albornoz ea7601
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz ea7601
#
Lucio Andrés Illanes Albornoz ea7601
Lucio Andrés Illanes Albornoz ea7601
pkg_gdb_configure_patch_post() {
Lucio Andrés Illanes Albornoz ea7601
	local _overlay_dname="${BUILD_WORKDIR}/chainport/overlay/m${PKG_NAME%%_*}";
Lucio Andrés Illanes Albornoz ea7601
	if [ -d "${_overlay_dname}" ]; then
Lucio Andrés Illanes Albornoz ea7601
		tar -C "${_overlay_dname}" -cpf - . | tar -C "${PKG_BASE_DIR}/${PKG_SUBDIR}" -xpf -;
Lucio Andrés Illanes Albornoz ea7601
	fi;
Lucio Andrés Illanes Albornoz ea7601
};
Lucio Andrés Illanes Albornoz ea7601
Lucio Andrés Illanes Albornoz ea7601
pkg_gdb_host_configure_patch_post() {
Lucio Andrés Illanes Albornoz ea7601
	pkg_gdb_configure_patch_post "${@}";
Lucio Andrés Illanes Albornoz ea7601
};
Lucio Andrés Illanes Albornoz ea7601
Lucio Andrés Illanes Albornoz ea7601
# vim:filetype=sh