summaryrefslogtreecommitdiffhomepage
path: root/vars/binutils.vars
blob: 0f99bb23245c5347a19cac0d8afc1da9cf823a81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#
# set +o errexit -o noglob -o nounset is assumed.
#

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_cross_configure_patch_post() {
	pkg_binutils_configure_patch_post "${@}";
};

pkg_binutils_mingw32_configure_patch_post() {
	pkg_binutils_configure_patch_post "${@}";
};

pkg_binutils_host_mingw32_configure_patch_post() {
	pkg_binutils_configure_patch_post "${@}";
};

pkg_binutils_cross_mingw32_configure_patch_post() {
	pkg_binutils_configure_patch_post "${@}";
};

# vim:filetype=sh textwidth=0