* [PATCH] gcc-arm-none-eabi-native: Add GCC baremetal toolchain
@ 2015-10-23 12:53 Jacob Stiffler
2015-10-23 19:34 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Stiffler @ 2015-10-23 12:53 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
.../gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb | 21 +++++++++++++++++++++
recipes-ti/includes/ti-paths.inc | 2 ++
2 files changed, 23 insertions(+)
create mode 100644 recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb
diff --git a/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb b/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb
new file mode 100644
index 0000000..971ae48
--- /dev/null
+++ b/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "Baremetal GCC for ARM"
+LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
+
+LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=cba77c7fde3ed13e866b04a2f3d93918"
+
+inherit native
+require recipes-ti/includes/ti-paths.inc
+
+SRC_URI = "https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q3-update/+download/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2;name=gcc-arm-none"
+
+SRC_URI[gcc-arm-none.md5sum] = "acc8c8ff45f8801e2155934214309a87"
+SRC_URI[gcc-arm-none.sha256sum] = "e33d7546de1e02844239c72b3ef5563f472fcd6b4637419d513770ae13f551c0"
+
+S = "${WORKDIR}/gcc-arm-none-eabi-4_8-2014q3"
+
+do_install() {
+ install -d ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}
+ cp -r ${S}/. ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}
+}
+
+FILES_${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*"
diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
index d4bbe9e..8880591 100644
--- a/recipes-ti/includes/ti-paths.inc
+++ b/recipes-ti/includes/ti-paths.inc
@@ -47,6 +47,7 @@ export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree"
export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree"
export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm"
export CCSV6_INSTALL_DIR_RECIPE = "${installdir}/ccsv6"
+export GCC_ARM_NONE_TOOLCHAIN_RECIPE = "${installdir}/gcc-arm-none-eabi"
# This is where the tools will end up in sysroot
export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
@@ -84,6 +85,7 @@ export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
export CCSV6_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CCSV6_INSTALL_DIR_RECIPE}"
+export GCC_ARM_NONE_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
DSPSUFFIX_omapl137 = "x674"
DSPSUFFIX_omapl138 = "x674"
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gcc-arm-none-eabi-native: Add GCC baremetal toolchain
2015-10-23 12:53 [PATCH] gcc-arm-none-eabi-native: Add GCC baremetal toolchain Jacob Stiffler
@ 2015-10-23 19:34 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2015-10-23 19:34 UTC (permalink / raw)
To: Jacob Stiffler; +Cc: meta-ti
On Fri, Oct 23, 2015 at 08:53:32AM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> .../gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb | 21 +++++++++++++++++++++
> recipes-ti/includes/ti-paths.inc | 2 ++
> 2 files changed, 23 insertions(+)
> create mode 100644 recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb
I wouldn't place it into recipes-devtools/gcc, since the way this recipe works
and the way the toolchain itself is consumed, is very TI specific. How about
recipe-ti instead?
> diff --git a/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb b/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb
> new file mode 100644
> index 0000000..971ae48
> --- /dev/null
> +++ b/recipes-devtools/gcc/gcc-arm-none-eabi-native_4.8.2014q3.bb
> @@ -0,0 +1,21 @@
> +DESCRIPTION = "Baremetal GCC for ARM"
> +LICENSE = "GPL-3.0-with-GCC-exception & GPLv3"
> +
> +LIC_FILES_CHKSUM = "file://share/doc/gcc-arm-none-eabi/license.txt;md5=cba77c7fde3ed13e866b04a2f3d93918"
> +
> +inherit native
> +require recipes-ti/includes/ti-paths.inc
> +
> +SRC_URI = "https://launchpad.net/gcc-arm-embedded/4.8/4.8-2014-q3-update/+download/gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2;name=gcc-arm-none"
> +
> +SRC_URI[gcc-arm-none.md5sum] = "acc8c8ff45f8801e2155934214309a87"
> +SRC_URI[gcc-arm-none.sha256sum] = "e33d7546de1e02844239c72b3ef5563f472fcd6b4637419d513770ae13f551c0"
> +
> +S = "${WORKDIR}/gcc-arm-none-eabi-4_8-2014q3"
> +
> +do_install() {
> + install -d ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}
> + cp -r ${S}/. ${D}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}
> +}
> +
> +FILES_${PN} = "${GCC_ARM_NONE_TOOLCHAIN_RECIPE}/*"
> diff --git a/recipes-ti/includes/ti-paths.inc b/recipes-ti/includes/ti-paths.inc
> index d4bbe9e..8880591 100644
> --- a/recipes-ti/includes/ti-paths.inc
> +++ b/recipes-ti/includes/ti-paths.inc
> @@ -47,6 +47,7 @@ export PDK_INSTALL_DIR_RECIPE = "${installdir}/ti-pdk-tree"
> export OSAL_INSTALL_DIR_RECIPE = "${installdir}/ti-osal-tree"
> export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm"
> export CCSV6_INSTALL_DIR_RECIPE = "${installdir}/ccsv6"
> +export GCC_ARM_NONE_TOOLCHAIN_RECIPE = "${installdir}/gcc-arm-none-eabi"
>
> # This is where the tools will end up in sysroot
> export BIOS_INSTALL_DIR = "${STAGING_DIR_TARGET}${BIOS_INSTALL_DIR_RECIPE}"
> @@ -84,6 +85,7 @@ export PDK_INSTALL_DIR = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
> export OSAL_INSTALL_DIR = "${STAGING_DIR_TARGET}${OSAL_INSTALL_DIR_RECIPE}"
> export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
> export CCSV6_INSTALL_DIR = "${STAGING_DIR_NATIVE}${CCSV6_INSTALL_DIR_RECIPE}"
> +export GCC_ARM_NONE_TOOLCHAIN = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
>
> DSPSUFFIX_omapl137 = "x674"
> DSPSUFFIX_omapl138 = "x674"
> --
> 1.9.1
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-23 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-23 12:53 [PATCH] gcc-arm-none-eabi-native: Add GCC baremetal toolchain Jacob Stiffler
2015-10-23 19:34 ` Denys Dmytriyenko
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.