midipix / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/busybox.vars

Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob is assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
#
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
pkg_busybox_configure() {
Lucio Andrés Illanes Albornoz c6d6e0
	rtl_fileop cp "${MIDIPIX_BUILD_PWD}/etc/busyboxconfig" "${PKG_BUILD_DIR}/.config";
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
};
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
pkg_busybox_install_make_post() {
Lucio Andrés Illanes Albornoz bf9edf
	set +o noglob;
Lucio Andrés Illanes Albornoz bf9edf
        if ! rtl_fileop cp "${PKG_BUILD_DIR}/_install/bin/"* "${PKG_DESTDIR}/bin/"\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! rtl_fileop cp "${PKG_BUILD_DIR}/_install/lib/libbusybox.so.${PKG_VERSION}" "${PKG_DESTDIR}/lib/"; then
Lucio Andrés Illanes Albornoz bf9edf
		set -o noglob; return 1;
Lucio Andrés Illanes Albornoz bf9edf
	fi;
Lucio Andrés Illanes Albornoz bf9edf
	set -o noglob;
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
};
Lucio Andrés Illanes Albornoz (arab, vxp) 7f17bb
Lucio Andrés Illanes Albornoz bf9edf
# vim:filetype=sh textwidth=0