Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone

Blame vars/libfirm.vars

Lucio Andrés Illanes Albornoz (arab, vxp) bcbe15
#
Lucio Andrés Illanes Albornoz (arab, vxp) 802215
# set -o errexit -o noglob are assumed.
Lucio Andrés Illanes Albornoz (arab, vxp) bcbe15
#
Lucio Andrés Illanes Albornoz (arab, vxp) bcbe15
Lucio Andrés Illanes Albornoz (arab, vxp) 03a637
pkg_libfirm_configure_pre() {
Lucio Andrés Illanes Albornoz (arab, vxp) bd97b6
	build_fileop mkdir cparser+libfirm/sysroot cparser+libfirm/build/libfirm;
Lucio Andrés Illanes Albornoz (arab, vxp) bcbe15
};
Lucio Andrés Illanes Albornoz (arab, vxp) bcbe15
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
pkg_cparser_configure_pre() {
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
	build_fileop mkdir cparser+libfirm/sysroot cparser+libfirm/build/cparser;
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
	export CFLAGS_PATH="-I../../sysroot/include";
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
	export LDFLAGS_PATH="-L../../sysroot/lib";
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
};
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_libfirm_install_make() {
Lucio Andrés Illanes Albornoz (arab, vxp) 981a63
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR=../../sysroot install;
Lucio Andrés Illanes Albornoz (arab, vxp) 981a63
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR="${PREFIX_NATIVE}" install;
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
};
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
Lucio Andrés Illanes Albornoz (arab, vxp) c27bea
pkg_cparser_install_make() {
Lucio Andrés Illanes Albornoz (arab, vxp) 981a63
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR=../../sysroot install;
Lucio Andrés Illanes Albornoz (arab, vxp) 981a63
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR="${PREFIX_NATIVE}" install;
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
};
Lucio Andrés Illanes Albornoz (arab, vxp) d01c02
Lucio Andrés Illanes Albornoz (arab, vxp) bcbe15
# vim:filetype=sh