blob: be1082d0902681129849bfaf57d81714c5a38ab6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
#
# Build group cross_toolchain
#
CROSS_TOOLCHAIN_BUILD_TYPE="host";
CROSS_TOOLCHAIN_CONFIGURE_ARGS="--disable-nls --prefix= --target=${DEFAULT_TARGET}";
CROSS_TOOLCHAIN_GROUP_DEPENDS="host_deps host_deps_rpm host_tools";
CROSS_TOOLCHAIN_MAKEFLAGS_INSTALL_EXTRA="prefix= PREFIX=";
CROSS_TOOLCHAIN_PACKAGES="
binutils_cross binutils_cross_mingw32 gcc_full_cross gcc_libstdcpp_v3_cross
gcc_runtime_cross gcc_stage1_cross_mingw32 gcc_stage1_cross gmp_cross
ldso_cross mdso_cross mpc_cross mpfr_cross musl_full_cross musl_no_complex_cross
nasm_cross perk_cross psxstub_cross psxtypes_cross";
CROSS_TOOLCHAIN_PKG_CONFIG="${PREFIX}/bin/pkgconf";
CROSS_TOOLCHAIN_PREFIX="${PREFIX_LOCAL}";
CROSS_TOOLCHAIN_RPM_DISABLE=1;
: ${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"};
: ${PKG_BINUTILS_CROSS_MINGW32_SHA256SUM:=250d3b2925c6b211fb16173b0b25bc091c58829fbcad3eb849645e0af52cf7fa};
: ${PKG_BINUTILS_CROSS_MINGW32_VERSION:=2.24.51};
: ${PKG_BINUTILS_CROSS_MINGW32_URL:=ftp://sourceware.org/pub/binutils/snapshots/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.tar.bz2};
: ${PKG_BINUTILS_CROSS_MINGW32_AUTOCONF_CONFIG_GUESS:="keep"};
: ${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}"};
: ${PKG_BINUTILS_CROSS_MINGW32_LIBTOOL:=slibtool-static};
: ${PKG_BINUTILS_CROSS_MINGW32_MAKEFLAGS_INSTALL:="PREFIX= prefix="};
: ${PKG_BINUTILS_CROSS_MINGW32_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/binutils/binutils-${PKG_BINUTILS_CROSS_MINGW32_VERSION}.midipix.patch"};
: ${PKG_BINUTILS_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_BINUTILS_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
: ${PKG_BINUTILS_CROSS_MINGW32_VARS_FILE:="vars/binutils.vars"};
: ${PKG_GCC_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_libstdcpp_v3_cross ldso_cross musl_full_cross"};
: ${PKG_GCC_FULL_CROSS_VERSION:=4.6.4};
: ${PKG_GCC_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
: ${PKG_GCC_FULL_CROSS_BUILD_DIR:="cbb-gcc-4.6.4-cross-x86_64-nt64-midipix"};
: ${PKG_GCC_FULL_CROSS_GITROOT:=${DEFAULT_GITROOT}};
: ${PKG_GCC_FULL_CROSS_NO_CLEAN_BASE_DIR:=1};
: ${PKG_GCC_FULL_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_GCC_FULL_CROSS_VARS_FILE:="vars/gcc.vars"};
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_DEPENDS:="gcc_runtime_cross gcc_stage1_cross ldso_cross musl_full_cross"};
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VERSION:=4.6.4};
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_GITROOT:=${DEFAULT_GITROOT}};
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_NO_CLEAN_BASE_DIR:=1};
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_GCC_LIBSTDCPP_V3_CROSS_VARS_FILE:="vars/gcc.vars"};
: ${PKG_GCC_RUNTIME_CROSS_DEPENDS:="gcc_stage1_cross musl_no_complex_cross psxtypes_cross psxstub_cross mdso_cross perk_cross"};
: ${PKG_GCC_RUNTIME_CROSS_VERSION:=4.6.4};
: ${PKG_GCC_RUNTIME_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
: ${PKG_GCC_RUNTIME_CROSS_GITROOT:=${DEFAULT_GITROOT}};
: ${PKG_GCC_RUNTIME_CROSS_NO_CLEAN_BASE_DIR:=1};
: ${PKG_GCC_RUNTIME_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_GCC_RUNTIME_CROSS_VARS_FILE:="vars/gcc.vars"};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_DEPENDS:="binutils_cross_mingw32 gmp_cross mpc_cross mpfr_cross"};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_VERSION:=4.6.4};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-x86_64-w64-mingw32};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_CONFIGURE_ARGS:="--disable-nls --prefix=${PREFIX_LOCAL} --target=x86_64-w64-mingw32"};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_TARGET:="x86_64-w64-mingw32"};
: ${PKG_GCC_STAGE1_CROSS_MINGW32_VARS_FILE:="vars/gcc.vars"};
: ${PKG_GCC_STAGE1_CROSS_DEPENDS:="binutils_cross gmp_cross mpc_cross mpfr_cross"};
: ${PKG_GCC_STAGE1_CROSS_VERSION:=4.6.4};
: ${PKG_GCC_STAGE1_CROSS_BASE_DIR:=${BUILD_WORKDIR}/gcc-cross-${DEFAULT_TARGET}};
: ${PKG_GCC_STAGE1_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include -g3 -O0"};
: ${PKG_GCC_STAGE1_CROSS_GITROOT:=${DEFAULT_GITROOT}};
: ${PKG_GCC_STAGE1_CROSS_LDFLAGS_CONFIGURE:="-L${PREFIX_LOCAL}/lib -Wl,-rpath,${PREFIX_LOCAL}/lib"};
: ${PKG_GCC_STAGE1_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_GCC_STAGE1_CROSS_VARS_FILE:="vars/gcc.vars"};
: ${PKG_GMP_CROSS_SHA256SUM:=5275bb04f4863a13516b2f39392ac5e272f5e1bb8057b18aec1c9b79d73d8fb2};
: ${PKG_GMP_CROSS_VERSION:=6.1.2};
: ${PKG_GMP_CROSS_URL:=https://gmplib.org/download/gmp/gmp-${PKG_GMP_CROSS_VERSION}.tar.bz2};
: ${PKG_GMP_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix="};
: ${PKG_GMP_CROSS_PATCHES_EXTRA:="${BUILD_WORKDIR}/chainport/patches/gmp/gmp-${PKG_GMP_CROSS_VERSION}.midipix.patch"};
: ${PKG_GMP_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_LDSO_CROSS_PREFIX="${PREFIX_CROSS}"};
: ${PKG_LDSO_CROSS_DEPENDS:="gcc_stage1_cross musl_full_cross psxtypes_cross"};
: ${PKG_LDSO_CROSS_URLS_GIT:=pemagine=${DEFAULT_GITROOT}/pemagine};
: ${PKG_LDSO_CROSS_BUILD_TYPE:=cross};
: ${PKG_LDSO_CROSS_CFLAGS_CONFIGURE_EXTRA:="-O0 -DPE_LDSO"};
: ${PKG_LDSO_CROSS_CONFIGURE_ARGS:="--prefix= --target=${DEFAULT_TARGET} --disable-shared"};
: ${PKG_LDSO_CROSS_INSTALL_FILES_V2:="@../%[_target]/lib/libldso.a=%[_prefix]/lib/libldso.a"};
: ${PKG_LDSO_CROSS_MAKEFLAGS_BUILD_EXTRA:=STATIC_LIB_NAME=libldso.a};
: ${PKG_LDSO_CROSS_MAKEFLAGS_INSTALL_EXTRA:=STATIC_LIB_NAME=libldso.a};
: ${PKG_MDSO_CROSS_URLS_GIT:="mdso=${DEFAULT_GITROOT}/mdso"};
: ${PKG_MDSO_CROSS_CONFIGURE_ARGS:="--prefix="};
: ${PKG_MDSO_CROSS_INSTALL_FILES_V2:="
@mdso=bin/${DEFAULT_TARGET}-mdso
/=${DEFAULT_TARGET}/bin
+bin/mdso=${DEFAULT_TARGET}/bin/mdso"};
: ${PKG_MPC_CROSS_DEPENDS:="gmp_cross mpfr_cross"};
: ${PKG_MPC_CROSS_SHA256SUM:=ed5a815cfea525dc778df0cb37468b9c1b554aaf30d9328b1431ca705b7400ff};
: ${PKG_MPC_CROSS_VERSION:=1.0.1};
: ${PKG_MPC_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpc/mpc-${PKG_MPC_CROSS_VERSION}.tar.gz};
: ${PKG_MPC_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL} --with-mpfr=${PREFIX_LOCAL}"};
: ${PKG_MPC_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_MPFR_CROSS_DEPENDS:="gmp_cross"};
: ${PKG_MPFR_CROSS_SHA256SUM:=79c73f60af010a30a5c27a955a1d2d01ba095b72537dab0ecaad57f5a7bb1b6b};
: ${PKG_MPFR_CROSS_VERSION:=3.1.2};
: ${PKG_MPFR_CROSS_URL:=ftp://ftp.gnu.org/gnu/mpfr/mpfr-${PKG_MPFR_CROSS_VERSION}.tar.bz2};
: ${PKG_MPFR_CROSS_CONFIGURE_ARGS:="--disable-assembly --disable-nls --prefix= --with-gmp=${PREFIX_LOCAL}"};
: ${PKG_MPFR_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_MUSL_FULL_CROSS_DEPENDS:="gcc_stage1_cross gcc_runtime_cross"};
: ${PKG_MUSL_FULL_CROSS_SHA256SUM:=7a35eae33d5372a7c0da1188de798726f68825513b7ae3ebe97aaaa52114f039};
: ${PKG_MUSL_FULL_CROSS_VERSION:=1.2.4};
: ${PKG_MUSL_FULL_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_FULL_CROSS_VERSION}.tar.gz"}
: ${PKG_MUSL_FULL_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
: ${PKG_MUSL_FULL_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_full-cross-${DEFAULT_TARGET}};
: ${PKG_MUSL_FULL_CROSS_BUILD_DIR:=build/musl};
: ${PKG_MUSL_FULL_CROSS_BUILD_TYPE:=cross};
: ${PKG_MUSL_FULL_CROSS_CONFIGURE:=build/mmglue/configure};
: ${PKG_MUSL_FULL_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_FULL_CROSS_VERSION} --prefix= --target=${DEFAULT_TARGET}"};
: ${PKG_MUSL_FULL_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
: ${PKG_MUSL_FULL_CROSS_SUBDIR:=musl-${PKG_MUSL_FULL_CROSS_VERSION}};
: ${PKG_MUSL_FULL_CROSS_VARS_FILE:="vars/musl.vars"};
: ${PKG_MUSL_NO_COMPLEX_CROSS_PREFIX:="${PREFIX_CROSS}"};
: ${PKG_MUSL_NO_COMPLEX_CROSS_DEPENDS:="gcc_stage1_cross "};
: ${PKG_MUSL_NO_COMPLEX_CROSS_SHA256SUM:=${PKG_MUSL_FULL_CROSS_SHA256SUM}};
: ${PKG_MUSL_NO_COMPLEX_CROSS_VERSION:=${PKG_MUSL_FULL_CROSS_VERSION}};
: ${PKG_MUSL_NO_COMPLEX_CROSS_URL:="http://www.musl-libc.org/releases/musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}.tar.gz"}
: ${PKG_MUSL_NO_COMPLEX_CROSS_URLS_GIT:="mmglue=${DEFAULT_GITROOT}/mmglue@main"};
: ${PKG_MUSL_NO_COMPLEX_CROSS_BASE_DIR:=${BUILD_WORKDIR}/musl_no_complex-cross-${DEFAULT_TARGET}};
: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_DIR:=build/musl};
: ${PKG_MUSL_NO_COMPLEX_CROSS_BUILD_TYPE:=cross};
: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE:=build/mmglue/configure};
: ${PKG_MUSL_NO_COMPLEX_CROSS_CONFIGURE_ARGS:="--source-dir=../../musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION} --no-complex --prefix= --target=${DEFAULT_TARGET}"};
: ${PKG_MUSL_NO_COMPLEX_CROSS_INSTALL_FILES_V2:="-=include/iconv.h"};
: ${PKG_MUSL_NO_COMPLEX_CROSS_SUBDIR:=musl-${PKG_MUSL_NO_COMPLEX_CROSS_VERSION}};
: ${PKG_MUSL_NO_COMPLEX_CROSS_VARS_FILE:="vars/musl.vars"};
: ${PKG_NASM_CROSS_SHA256SUM:=c77745f4802375efeee2ec5c0ad6b7f037ea9c87c92b149a9637ff099f162558};
: ${PKG_NASM_CROSS_VERSION:=2.16.01};
: ${PKG_NASM_CROSS_URL:=http://www.nasm.us/pub/nasm/releasebuilds/${PKG_NASM_CROSS_VERSION}/nasm-${PKG_NASM_CROSS_VERSION}.tar.xz};
: ${PKG_NASM_CROSS_CFLAGS_CONFIGURE_EXTRA:=-DCOFF_MIDIPIX};
: ${PKG_NASM_CROSS_INSTALL_FILES_V2:="!bin/%<*>=bin/%[_target]-%[FNAME]"};
: ${PKG_NASM_CROSS_PREFIX:=${PREFIX_LOCAL}};
: ${PKG_PERK_CROSS_DEPENDS:="mdso_cross"};
: ${PKG_PERK_CROSS_URLS_GIT:="perk=${DEFAULT_GITROOT}/perk"};
: ${PKG_PERK_CROSS_CONFIGURE_ARGS:="--prefix="};
: ${PKG_PERK_CROSS_INSTALL_FILES_V2:="@perk=bin/${DEFAULT_TARGET}-perk"};
: ${PKG_PERK_CROSS_CFLAGS_CONFIGURE:="-I${PREFIX_LOCAL}/include"};
: ${PKG_PSXSTUB_CROSS_PREFIX:="${PREFIX_CROSS}"};
: ${PKG_PSXSTUB_CROSS_DEPENDS:="gcc_stage1_cross"};
: ${PKG_PSXSTUB_CROSS_URLS_GIT:="psxstub=${DEFAULT_GITROOT}/psxstub"};
: ${PKG_PSXSTUB_CROSS_BUILD_STEPS_DISABLE:=build};
: ${PKG_PSXSTUB_CROSS_ENV_VARS_EXTRA:=TARGET=${DEFAULT_TARGET}};
: ${PKG_PSXSTUB_CROSS_IN_TREE:=1};
: ${PKG_PSXTYPES_CROSS_PREFIX:="${PREFIX_CROSS}"};
: ${PKG_PSXTYPES_CROSS_DEPENDS:="gcc_stage1_cross"};
: ${PKG_PSXTYPES_CROSS_URLS_GIT:=psxtypes=${DEFAULT_GITROOT}/psxtypes};
: ${PKG_PSXTYPES_CROSS_BUILD_STEPS_DISABLE:=build};
: ${PKG_PSXTYPES_CROSS_CONFIGURE_ARGS:="--disable-nls --prefix="};
: ${PKG_PSXTYPES_CROSS_IN_TREE:=1};
# vim:filetype=sh textwidth=0
|