Blame groups.d/030.cross_toolchain.group

308fa7
#
308fa7
# Build group cross_toolchain
308fa7
#
308fa7
CROSS_TOOLCHAIN_BUILD_TYPE="host";
308fa7
CROSS_TOOLCHAIN_CONFIGURE_ARGS="--disable-nls --prefix= --target=${DEFAULT_TARGET}";
308fa7
CROSS_TOOLCHAIN_GROUP_DEPENDS="host_deps host_deps_rpm host_tools";
308fa7
CROSS_TOOLCHAIN_MAKEFLAGS_INSTALL_EXTRA="prefix= PREFIX=";
308fa7
CROSS_TOOLCHAIN_PACKAGES="
308fa7
binutils_cross binutils_cross_mingw32 gcc_full_cross gcc_libstdcpp_v3_cross
308fa7
gcc_runtime_cross gcc_stage1_cross_mingw32 gcc_stage1_cross gmp_cross
308fa7
ldso_cross mdso_cross mpc_cross mpfr_cross musl_full_cross musl_no_complex_cross
308fa7
nasm_cross perk_cross psxstub_cross psxtypes_cross";
308fa7
CROSS_TOOLCHAIN_PKG_CONFIG="${PREFIX}/bin/pkgconf";
308fa7
CROSS_TOOLCHAIN_PREFIX="${PREFIX_LOCAL}";
308fa7
CROSS_TOOLCHAIN_RPM_DISABLE=1;
308fa7
1826f3
: ${PKG_BINUTILS_CROSS_DEPENDS:="perk_cross"};
308fa7
: ${PKG_BINUTILS_CROSS_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
308fa7
: ${PKG_BINUTILS_CROSS_VERSION:=2.24.51};
308fa7
: ${PKG_BINUTILS_CROSS_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_VERSION}.tar.bz2};
308fa7
: ${PKG_BINUTILS_CROSS_AUTOCONF_CONFIG_GUESS:="keep"};
52e0ce
: ${PKG_BINUTILS_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g2 -O0"};
308fa7
: ${PKG_BINUTILS_CROSS_CONFIGURE_ARGS:="--disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=${DEFAULT_TARGET} --with-sysroot=${PREFIX_CROSS}"};
308fa7
: ${PKG_BINUTILS_CROSS_INSTALL_FILES_V2:="
308fa7
	@%[_target]-windmc=bin/windmc
308fa7
	@%[_target]-windres=bin/windres"};
52e0ce
: ${PKG_BINUTILS_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
308fa7
: ${PKG_BINUTILS_CROSS_LIBTOOL:=slibtool-static};
308fa7
: ${PKG_BINUTILS_CROSS_MAKEFLAGS_INSTALL_EXTRA:="PREFIX= prefix="};
308fa7
: ${PKG_BINUTILS_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_VERSION}.midipix.patch"};
308fa7
: ${PKG_BINUTILS_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_BINUTILS_CROSS_VARS_FILE:="vars/binutils.vars"};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_VERSION:=2.24.51};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.tar.bz2};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_CONFIGURE_ARGS:="--disable-nls --disable-werror --enable-deterministic-archives --prefix=${PREFIX_LOCAL} --target=x86_64-w64-mingw32 --with-sysroot=${PREFIX_MINGW32}"};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_LIBTOOL:=slibtool-static};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.midipix.patch"};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
308fa7
: ${PKG_BINUTILS_CROSS_MINGW32_VARS_FILE:="vars/binutils.vars"};
308fa7
: ${PKG_GCC_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_libstdcpp_v3_cross ldso_cross musl_full_cross"};
308fa7
: ${PKG_GCC_FULL_CROSS_VERSION:=4.6.4};
308fa7
: ${PKG_GCC_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
308fa7
: ${PKG_GCC_FULL_CROSS_BUILD_DIR:="cbb-gcc-4.6.4-cross-x86_64-nt64-midipix"};
308fa7
: ${PKG_GCC_FULL_CROSS_GITROOT:=${DEFAULT_GITROOT}};
308fa7
: ${PKG_GCC_FULL_CROSS_NO_CLEAN_BASE_DIR:=1};
308fa7
: ${PKG_GCC_FULL_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_GCC_FULL_CROSS_VARS_FILE:="vars/gcc.vars"};
308fa7
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_DEPENDS:="gcc_runtime_cross gcc_stage1_cross ldso_cross musl_full_cross"};
308fa7
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VERSION:=4.6.4};
308fa7
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
308fa7
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_GITROOT:=${DEFAULT_GITROOT}};
308fa7
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_NO_CLEAN_BASE_DIR:=1};
308fa7
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VARS_FILE:="vars/gcc.vars"};
308fa7
: ${PKG_GCC_RUNTIME_CROSS_DEPENDS:="gcc_stage1_cross musl_no_complex_cross psxtypes_cross psxstub_cross mdso_cross perk_cross"};
308fa7
: ${PKG_GCC_RUNTIME_CROSS_VERSION:=4.6.4};
308fa7
: ${PKG_GCC_RUNTIME_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
308fa7
: ${PKG_GCC_RUNTIME_CROSS_GITROOT:=${DEFAULT_GITROOT}};
308fa7
: ${PKG_GCC_RUNTIME_CROSS_NO_CLEAN_BASE_DIR:=1};
308fa7
: ${PKG_GCC_RUNTIME_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_GCC_RUNTIME_CROSS_VARS_FILE:="vars/gcc.vars"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_DEPENDS:="binutils_cross_mingw32 gmp_cross mpc_cross mpfr_cross"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_VERSION:=4.6.4};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-x86_64-w64-mingw32};
52e0ce
: ${PKG_GCC_STAGE1_CROSS_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_CONFIGURE_ARGS:="--disable-nls --prefix=${PREFIX_LOCAL} --target=x86_64-w64-mingw32"};
52e0ce
: ${PKG_GCC_STAGE1_CROSS_MINGW32_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_MINGW32_VARS_FILE:="vars/gcc.vars"};
308fa7
308fa7
: ${PKG_GCC_STAGE1_CROSS_DEPENDS:="binutils_cross gmp_cross mpc_cross mpfr_cross"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_VERSION:=4.6.4};
308fa7
: ${PKG_GCC_STAGE1_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
52e0ce
: ${PKG_GCC_STAGE1_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g3 -O0"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_GITROOT:=${DEFAULT_GITROOT}};
52e0ce
: ${PKG_GCC_STAGE1_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
308fa7
: ${PKG_GCC_STAGE1_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_GCC_STAGE1_CROSS_VARS_FILE:="vars/gcc.vars"};
308fa7
308fa7
: ${PKG_GMP_CROSS_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
308fa7
: ${PKG_GMP_CROSS_VERSION:=6.1.2};
308fa7
: ${PKG_GMP_CROSS_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_CROSS_VERSION}.tar.bz2};
308fa7
: ${PKG_GMP_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix="};
308fa7
: ${PKG_GMP_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_CROSS_VERSION}.midipix.patch"};
308fa7
: ${PKG_GMP_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
308fa7
: ${PKG_LDSO_CROSS_PREFIX="${PREFIX_CROSS}"};
308fa7
: ${PKG_LDSO_CROSS_DEPENDS:="gcc_stage1_cross musl_full_cross psxtypes_cross"};
308fa7
: ${PKG_LDSO_CROSS_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
308fa7
: ${PKG_LDSO_CROSS_BUILD_TYPE:=cross};
308fa7
: ${PKG_LDSO_CROSS_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
308fa7
: ${PKG_LDSO_CROSS_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
308fa7
: ${PKG_LDSO_CROSS_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
308fa7
: ${PKG_LDSO_CROSS_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
308fa7
: ${PKG_LDSO_CROSS_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
308fa7
308fa7
: ${PKG_MDSO_CROSS_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
308fa7
: ${PKG_MDSO_CROSS_CONFIGURE_ARGS:="--prefix="};
308fa7
: ${PKG_MDSO_CROSS_INSTALL_FILES_V2:="
308fa7
	@mdso=bin/${DEFAULT_TARGET}-mdso
308fa7
	/=${DEFAULT_TARGET}/bin
308fa7
	+bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
308fa7
308fa7
: ${PKG_MPC_CROSS_DEPENDS:="gmp_cross mpfr_cross"};
308fa7
: ${PKG_MPC_CROSS_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
308fa7
: ${PKG_MPC_CROSS_VERSION:=1.0.1};
308fa7
: ${PKG_MPC_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_CROSS_VERSION}.tar.gz};
308fa7
: ${PKG_MPC_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL} --with-mpfr=${PREFIX_LOCAL}"};
308fa7
: ${PKG_MPC_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_MPFR_CROSS_DEPENDS:="gmp_cross"};
308fa7
: ${PKG_MPFR_CROSS_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
308fa7
: ${PKG_MPFR_CROSS_VERSION:=3.1.2};
308fa7
: ${PKG_MPFR_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_CROSS_VERSION}.tar.bz2};
308fa7
: ${PKG_MPFR_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL}"};
308fa7
: ${PKG_MPFR_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
: ${PKG_MUSL_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_runtime_cross"};
d6e7c1
: ${PKG_MUSL_FULL_CROSS_SHA256SUM:=7a35eae33d5372a7c0da1188de798726f68825513b7ae3ebe97aaaa52114f039};
d6e7c1
: ${PKG_MUSL_FULL_CROSS_VERSION:=1.2.4};
308fa7
: ${PKG_MUSL_FULL_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_CROSS_VERSION}.tar.gz"}
308fa7
: ${PKG_MUSL_FULL_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
308fa7
: ${PKG_MUSL_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_full-cross-${DEFAULT_TARGET}};
308fa7
: ${PKG_MUSL_FULL_CROSS_BUILD_DIR:=build/musl};
308fa7
: ${PKG_MUSL_FULL_CROSS_BUILD_TYPE:=cross};
308fa7
: ${PKG_MUSL_FULL_CROSS_CONFIGURE:=build/mmglue/configure};
308fa7
: ${PKG_MUSL_FULL_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_CROSS_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
308fa7
: ${PKG_MUSL_FULL_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
308fa7
: ${PKG_MUSL_FULL_CROSS_SUBDIR:=musl-${PKG_MUSL_FULL_CROSS_VERSION}};
308fa7
: ${PKG_MUSL_FULL_CROSS_VARS_FILE:="vars/musl.vars"};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_PREFIX:="${PREFIX_CROSS}"};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_DEPENDS:="gcc_stage1_cross "};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_SHA256SUM:=${PKG_MUSL_FULL_CROSS_SHA256SUM}};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_VERSION:=${PKG_MUSL_FULL_CROSS_VERSION}};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}.tar.gz"}
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_no_complex-cross-${DEFAULT_TARGET}};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_DIR:=build/musl};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_TYPE:=cross};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE:=build/mmglue/configure};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION} --no-complex --prefix= --target=${DEFAULT_TARGET}"};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_SUBDIR:=musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}};
308fa7
: ${PKG_MUSL_NO_COMPLEX_CROSS_VARS_FILE:="vars/musl.vars"};
308fa7
: ${PKG_NASM_CROSS_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
308fa7
: ${PKG_NASM_CROSS_VERSION:=2.16.01};
308fa7
: ${PKG_NASM_CROSS_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_CROSS_VERSION}/nasm-${PKG_NASM_CROSS_VERSION}.tar.xz};
308fa7
: ${PKG_NASM_CROSS_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
308fa7
: ${PKG_NASM_CROSS_INSTALL_FILES_V2:="!bin/%<*>=bin/%[_target]-%[FNAME]"};
308fa7
: ${PKG_NASM_CROSS_PREFIX:=${PREFIX_LOCAL}};
308fa7
308fa7
: ${PKG_PERK_CROSS_DEPENDS:="mdso_cross"};
308fa7
: ${PKG_PERK_CROSS_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
308fa7
: ${PKG_PERK_CROSS_CONFIGURE_ARGS:="--prefix="};
308fa7
: ${PKG_PERK_CROSS_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
308fa7
: ${PKG_PERK_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
308fa7
308fa7
: ${PKG_PSXSTUB_CROSS_PREFIX:="${PREFIX_CROSS}"};
308fa7
: ${PKG_PSXSTUB_CROSS_DEPENDS:="gcc_stage1_cross"};
308fa7
: ${PKG_PSXSTUB_CROSS_URLS_GIT:="psxstub=${DEFAULT_GITROOT}/psxstub"};
308fa7
: ${PKG_PSXSTUB_CROSS_BUILD_STEPS_DISABLE:=build};
308fa7
: ${PKG_PSXSTUB_CROSS_ENV_VARS_EXTRA:=TARGET=${DEFAULT_TARGET}};
308fa7
: ${PKG_PSXSTUB_CROSS_IN_TREE:=1};
308fa7
: ${PKG_PSXTYPES_CROSS_PREFIX:="${PREFIX_CROSS}"};
308fa7
: ${PKG_PSXTYPES_CROSS_DEPENDS:="gcc_stage1_cross"};
308fa7
: ${PKG_PSXTYPES_CROSS_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
308fa7
: ${PKG_PSXTYPES_CROSS_BUILD_STEPS_DISABLE:=build};
308fa7
: ${PKG_PSXTYPES_CROSS_CONFIGURE_ARGS:="--disable-nls --prefix="};
308fa7
: ${PKG_PSXTYPES_CROSS_IN_TREE:=1};
308fa7
308fa7
# vim:filetype=sh textwidth=0