Conan_Kudo / build / midipix_build

Forked from build/midipix_build 4 years ago
Clone
Blob Blame History Raw
#
# set -o errexit -o noglob are assumed.
#

pkg_libfirm_configure_pre() {
	build_fileop mkdir cparser+libfirm/sysroot cparser+libfirm/build/libfirm;
};

pkg_cparser_configure_pre() {
	build_fileop mkdir cparser+libfirm/sysroot cparser+libfirm/build/cparser;
	export CFLAGS_PATH="-I../../sysroot/include";
	export LDFLAGS_PATH="-L../../sysroot/lib";
};

pkg_libfirm_install_make() {
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR=../../sysroot install;
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR="${PREFIX_NATIVE}" install;
};

pkg_cparser_install_make() {
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR=../../sysroot install;
	make ${PKG_MAKEFLAGS_BUILD} DESTDIR="${PREFIX_NATIVE}" install;
};

# vim:filetype=sh