[Fuego] [PATCH] toolchains: add armel script for debian toolchains
Tim.Bird at sony.com
Tim.Bird at sony.com
Wed May 9 19:01:19 UTC 2018
> -----Original Message-----
> From: Daniel Sangorrin
>
> Signed-off-by: Daniel Sangorrin <daniel.sangorrin at 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
More information about the Fuego
mailing list