Blame groups.d/030.cross_toolchain.d/binutils_cross.package

b2c1ea
: ${PKG_BINUTILS_CROSS_DEPENDS:="perk_cross"};
b2c1ea
: ${PKG_BINUTILS_CROSS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
b2c1ea
: ${PKG_BINUTILS_CROSS_VERSION:=2.24.51};
b2c1ea
: ${PKG_BINUTILS_CROSS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_VERSION}.tar.bz2};
b2c1ea
: ${PKG_BINUTILS_CROSS_AUTOCONF_CONFIG_GUESS:="keep"};
b2c1ea
: ${PKG_BINUTILS_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g2 -O0"};
b2c1ea
: ${PKG_BINUTILS_CROSS_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_CROSS}"};
b2c1ea
: ${PKG_BINUTILS_CROSS_INSTALL_FILES_V2:="
b2c1ea
	@%[_target]-windmc=bin/windmc
b2c1ea
	@%[_target]-windres=bin/windres"};
b2c1ea
: ${PKG_BINUTILS_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
b2c1ea
: ${PKG_BINUTILS_CROSS_LIBTOOL:=slibtool-static};
b2c1ea
: ${PKG_BINUTILS_CROSS_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="};
b2c1ea
: ${PKG_BINUTILS_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_VERSION}.midipix.patch"};
b2c1ea
: ${PKG_BINUTILS_CROSS_PREFIX:=${PREFIX_LOCAL}};
b2c1ea
: ${PKG_BINUTILS_CROSS_VARS_FILE:="vars/binutils.vars"};
b2c1ea
b2c1ea
ex_pkg_register "binutils_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain";
b2c1ea
b2c1ea
# vim:filetype=sh textwidth=0