* [Fuego] [PATCH] toolchains: add armel script for debian toolchains
@ 2018-05-09 8:39 Daniel Sangorrin
2018-05-09 19:01 ` Tim.Bird
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Sangorrin @ 2018-05-09 8:39 UTC (permalink / raw)
To: fuego
Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
---
fuego-ro/toolchains/debian-armel-tools.sh | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
create mode 100644 fuego-ro/toolchains/debian-armel-tools.sh
diff --git a/fuego-ro/toolchains/debian-armel-tools.sh b/fuego-ro/toolchains/debian-armel-tools.sh
new file mode 100644
index 0000000..8dad904
--- /dev/null
+++ b/fuego-ro/toolchains/debian-armel-tools.sh
@@ -0,0 +1,28 @@
+# fuego toolchain script
+# this sets up the environment needed for fuego to use a toolchain
+# this includes the following variables:
+# CC, CXX, CPP, CXXCPP, CONFIGURE_FLAGS, AS, LD, ARCH
+# CROSS_COMPILE, PREFIX, HOST, SDKROOT
+# CFLAGS and LDFLAGS are optional
+#
+# this script is sourced by ${FUEGO_RO}/toolchains/tools.sh
+#
+# Note that to use this script, you should install the
+# Debian cross-compiler toolchains, using the script
+# install_cross_toolchain.sh
+#
+# do this, inside the container, as follows:
+# /fuego-ro/toolchain/install_cross_toolchain.sh armhf
+
+export ARCH=arm
+
+export SDKROOT=/
+export PREFIX=arm-linux-gnueabi
+export_tools
+CPP="${CC} -E"
+CXXCPP="${CXX} -E"
+
+# save original path, to get to non-toolchain version of python
+ORIG_PATH=$PATH
+unset PYTHONHOME
+env -u PYTHONHOME
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Fuego] [PATCH] toolchains: add armel script for debian toolchains
2018-05-09 8:39 [Fuego] [PATCH] toolchains: add armel script for debian toolchains Daniel Sangorrin
@ 2018-05-09 19:01 ` Tim.Bird
0 siblings, 0 replies; 2+ messages in thread
From: Tim.Bird @ 2018-05-09 19:01 UTC (permalink / raw)
To: daniel.sangorrin, fuego
> -----Original Message-----
> From: Daniel Sangorrin
>
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>
> ---
> fuego-ro/toolchains/debian-armel-tools.sh | 28
> ++++++++++++++++++++++++++++
> 1 file changed, 28 insertions(+)
> create mode 100644 fuego-ro/toolchains/debian-armel-tools.sh
>
> diff --git a/fuego-ro/toolchains/debian-armel-tools.sh b/fuego-
> ro/toolchains/debian-armel-tools.sh
> new file mode 100644
> index 0000000..8dad904
> --- /dev/null
> +++ b/fuego-ro/toolchains/debian-armel-tools.sh
> @@ -0,0 +1,28 @@
> +# fuego toolchain script
> +# this sets up the environment needed for fuego to use a toolchain
> +# this includes the following variables:
> +# CC, CXX, CPP, CXXCPP, CONFIGURE_FLAGS, AS, LD, ARCH
> +# CROSS_COMPILE, PREFIX, HOST, SDKROOT
> +# CFLAGS and LDFLAGS are optional
> +#
> +# this script is sourced by ${FUEGO_RO}/toolchains/tools.sh
> +#
> +# Note that to use this script, you should install the
> +# Debian cross-compiler toolchains, using the script
> +# install_cross_toolchain.sh
> +#
> +# do this, inside the container, as follows:
> +# /fuego-ro/toolchain/install_cross_toolchain.sh armhf
Should be 'armel' here. I fixed it when I applied this.
> +
> +export ARCH=arm
> +
> +export SDKROOT=/
> +export PREFIX=arm-linux-gnueabi
> +export_tools
> +CPP="${CC} -E"
> +CXXCPP="${CXX} -E"
> +
> +# save original path, to get to non-toolchain version of python
> +ORIG_PATH=$PATH
> +unset PYTHONHOME
> +env -u PYTHONHOME
> --
> 2.7.4
Thanks. Applied and pushed.
-- Tim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-05-09 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09 8:39 [Fuego] [PATCH] toolchains: add armel script for debian toolchains Daniel Sangorrin
2018-05-09 19:01 ` Tim.Bird
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.