All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: "Franklin S. Cooper Jr" <fcooperjr27@gmail.com>
Cc: meta-arago@arago-project.org, "Franklin S. Cooper Jr" <fcooper@ti.com>
Subject: Re: [PATCH] meta-toolchain-arago-tisdk: Add Arago SDK specific toolchain recipe
Date: Thu, 1 Nov 2012 15:02:22 -0400	[thread overview]
Message-ID: <20121101190222.GF22705@edge> (raw)
In-Reply-To: <1351795396-5146-1-git-send-email-fcooper@ti.com>

On Thu, Nov 01, 2012 at 01:43:16PM -0500, Franklin S. Cooper Jr wrote:
> * Add a meta toolchain recipe that builds on top of meta-toolchain-arago-qte
>   but includes components and tasks specific to the Arago SDK.
> 
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
>  .../meta/meta-toolchain-arago-tisdk.bb             |   18 ++++++++++++++++++
>  1 files changed, 18 insertions(+), 0 deletions(-)
>  create mode 100644 meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb
> 
> diff --git a/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb b/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb
> new file mode 100644
> index 0000000..17f3966
> --- /dev/null
> +++ b/meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb
> @@ -0,0 +1,18 @@
> +require recipes-core/meta/meta-toolchain-arago-qte.bb
> +
> +TOOLCHAIN_TARGET_TASK = "task-arago-toolchain-tisdk-target"
> +TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-sdk-${SDK_ARCH}"

Hmm, this essentially returns it back to the one used by the generic 
meta-toolchain-arago...

> +
> +PR = "0"

^^^^ it's "r0"

> +
> +toolchain_create_sdk_env_script_append() {
> +    echo -e 'export CPP="\x24{TARGET_PREFIX}gcc -E"' >> $script
> +    echo -e 'export NM=\x24{TARGET_PREFIX}nm' >> $script
> +    echo -e 'export RANLIB=\x24{TARGET_PREFIX}ranlib' >> $script
> +    echo -e 'export OBJCOPY=\x24{TARGET_PREFIX}objcopy' >> $script
> +    echo -e 'export STRIP=\x24{TARGET_PREFIX}strip' >> $script
> +    echo -e 'export AS=\x24{TARGET_PREFIX}as' >> $script
> +    echo -e 'export AR=\x24{TARGET_PREFIX}ar' >> $script
> +    echo -e 'export OBJDUMP=\x24{TARGET_PREFIX}objdump' >> $script
> +    echo 'export PKG_CONFIG_ALLOW_SYSTEM_LIBS=1' >> $script

All these vars are not TI-SDK specific, should we rather place them in the 
meta-toolchain-arago instead?


  reply	other threads:[~2012-11-01 19:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-01 18:43 [PATCH] meta-toolchain-arago-tisdk: Add Arago SDK specific toolchain recipe Franklin S. Cooper Jr
2012-11-01 19:02 ` Denys Dmytriyenko [this message]
2012-11-01 19:07   ` Cooper Jr., Franklin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121101190222.GF22705@edge \
    --to=denys@ti.com \
    --cc=fcooper@ti.com \
    --cc=fcooperjr27@gmail.com \
    --cc=meta-arago@arago-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.