summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--groups.d/040.host_toolchain.d/gcc_stage1_host.package12
-rw-r--r--groups.d/040.host_toolchain.d/gcc_stage1_host_mingw32.package14
2 files changed, 26 insertions, 0 deletions
diff --git a/groups.d/040.host_toolchain.d/gcc_stage1_host.package b/groups.d/040.host_toolchain.d/gcc_stage1_host.package
new file mode 100644
index 00000000..77e098c9
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/gcc_stage1_host.package
@@ -0,0 +1,12 @@
+: ${PKG_GCC_STAGE1_HOST_DEPENDS:="binutils_host gmp_host mpc_host mpfr_host"};
+: ${PKG_GCC_STAGE1_HOST_VERSION:=4.6.4};
+: ${PKG_GCC_STAGE1_HOST_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-${DEFAULT_TARGET}};
+: ${PKG_GCC_STAGE1_HOST_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
+: ${PKG_GCC_STAGE1_HOST_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_STAGE1_HOST_LDFLAGS_CONFIGURE:="-Wl,-rpath,${PREFIX}/lib"};
+: ${PKG_GCC_STAGE1_HOST_PREFIX:=${PREFIX}};
+: ${PKG_GCC_STAGE1_HOST_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_stage1_host" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0
diff --git a/groups.d/040.host_toolchain.d/gcc_stage1_host_mingw32.package b/groups.d/040.host_toolchain.d/gcc_stage1_host_mingw32.package
new file mode 100644
index 00000000..56dc568c
--- /dev/null
+++ b/groups.d/040.host_toolchain.d/gcc_stage1_host_mingw32.package
@@ -0,0 +1,14 @@
+: ${PKG_GCC_STAGE1_HOST_MINGW32_DEPENDS:="binutils_host_mingw32 gmp_host mpc_host mpfr_host"};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_VERSION:=4.6.4};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_BASE_DIR:=${BUILD_WORKDIR}/gcc-host-x86_64-w64-mingw32};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_CFLAGS_CONFIGURE:="-I${PREFIX}/include"};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_CONFIGURE_ARGS:="--disable-nls --prefix=${PREFIX} --target=x86_64-w64-mingw32"};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_LDFLAGS_CONFIGURE:="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_GITROOT:=${DEFAULT_GITROOT}};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_PREFIX:=${PREFIX}};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_TARGET:="x86_64-w64-mingw32"};
+: ${PKG_GCC_STAGE1_HOST_MINGW32_VARS_FILE:="vars/gcc.vars"};
+
+ex_pkg_register "gcc_stage1_host_mingw32" "${RTL_FILEOP_SOURCE_FNAME}" "host_toolchain";
+
+# vim:filetype=sh textwidth=0