diff options
author | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-04-24 15:24:48 +0200 |
---|---|---|
committer | Lucía Andrea Illanes Albornoz <lucia@luciaillanes.de> | 2024-04-24 15:24:48 +0200 |
commit | b2c1ea9526151c4fed9dca8348019d718f489e76 (patch) | |
tree | 4d7e65a3553f0c3c4eabec884075a36eb5e56c2b /groups.d/030.cross_toolchain.d/binutils_cross.package | |
parent | 4e929dbbad9c3b8d2d88f7a44916f14758d39ee5 (diff) | |
download | midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.bz2 midipix_build-b2c1ea9526151c4fed9dca8348019d718f489e76.tar.xz |
Implements single package files.
Diffstat (limited to 'groups.d/030.cross_toolchain.d/binutils_cross.package')
-rw-r--r-- | groups.d/030.cross_toolchain.d/binutils_cross.package | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/groups.d/030.cross_toolchain.d/binutils_cross.package b/groups.d/030.cross_toolchain.d/binutils_cross.package new file mode 100644 index 00000000..6340dc5d --- /dev/null +++ b/groups.d/030.cross_toolchain.d/binutils_cross.package @@ -0,0 +1,20 @@ +: ${PKG_BINUTILS_CROSS_DEPENDS:="perk_cross"}; +: ${PKG_BINUTILS_CROSS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa}; +: ${PKG_BINUTILS_CROSS_VERSION:=2.24.51}; +: ${PKG_BINUTILS_CROSS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_VERSION}.tar.bz2}; +: ${PKG_BINUTILS_CROSS_AUTOCONF_CONFIG_GUESS:="keep"}; +: ${PKG_BINUTILS_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g2 -O0"}; +: ${PKG_BINUTILS_CROSS_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_CROSS}"}; +: ${PKG_BINUTILS_CROSS_INSTALL_FILES_V2:=" + @%[_target]-windmc=bin/windmc + @%[_target]-windres=bin/windres"}; +: ${PKG_BINUTILS_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"}; +: ${PKG_BINUTILS_CROSS_LIBTOOL:=slibtool-static}; +: ${PKG_BINUTILS_CROSS_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="}; +: ${PKG_BINUTILS_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_VERSION}.midipix.patch"}; +: ${PKG_BINUTILS_CROSS_PREFIX:=${PREFIX_LOCAL}}; +: ${PKG_BINUTILS_CROSS_VARS_FILE:="vars/binutils.vars"}; + +ex_pkg_register "binutils_cross" "${RTL_FILEOP_SOURCE_FNAME}" "cross_toolchain"; + +# vim:filetype=sh textwidth=0 |